Skip to content
Snippets Groups Projects
Commit 1e358abd authored by rswindell's avatar rswindell
Browse files

When sending netmail, only prompt for file attachment if sysop has allowed

file attachments in netmail.
Added [N]etmail command to Renegade clone email menu.
parent 2ebca7bf
No related branches found
No related tags found
No related merge requests found
......@@ -407,7 +407,14 @@ cmdkey F
end_cmd
cmdkey N
no_yes "\r\nAttach a file"
int i
copy i _netmail_misc
or i _inetmail_misc
and i NMAIL_FILE
compare i 0
if_false
no_yes "\r\nAttach a file"
endi_if
if_true
mail_send_netmail
else
......
......@@ -67,7 +67,14 @@ cmdkey E
end_cmd
cmdkey S
no_yes "\r\nAttach a file"
int i
copy i _netmail_misc
or i _inetmail_misc
and i NMAIL_FILE
compare i 0
if_false
no_yes "\r\nAttach a file"
end_if
if_true
mail_send_netmail
else
......
......@@ -351,7 +351,14 @@ cmdkey F
end_cmd
cmdkey N
no_yes "\r\nAttach a file"
int i
copy i _netmail_misc
or i _inetmail_misc
and i NMAIL_FILE
compare i 0
if_false
no_yes "\r\nAttach a file"
end_if
if_true
mail_send_netmail
else
......
......@@ -272,6 +272,23 @@ cmdkey V
mail_read_sent
end_cmd
# Netmail
cmdkey N
int i
copy i _netmail_misc
or i _inetmail_misc
and i NMAIL_FILE
compare i 0
if_false
no_yes "\r\nAttach a file"
endi_if
if_true
mail_send_netmail
else
mail_send_netfile
end_if
end_cmd
cmdkey Q
cmd_pop
goto main
......
......@@ -594,7 +594,14 @@ cmdstr "feedback"
end_cmd
cmdstr "netmail"
no_yes "\r\nAttach a file"
int i
copy i _netmail_misc
or i _inetmail_misc
and i NMAIL_FILE
compare i 0
if_false
no_yes "\r\nAttach a file"
end_if
if_true
mail_send_netmail
else
......
......@@ -328,7 +328,14 @@ else
return
:sendnetmail
no_yes "\r\nAttach a file"
int i
copy i _netmail_misc
or i _inetmail_misc
and i NMAIL_FILE
compare i 0
if_false
no_yes "\r\nAttach a file"
end_if
if_false
mail_send_netfile
else
......
......@@ -221,7 +221,14 @@ cmdkey F
end_cmd
cmdkey N
no_yes "\r\nAttach a file"
int i
copy i _netmail_misc
or i _inetmail_misc
and i NMAIL_FILE
compare i 0
if_false
no_yes "\r\nAttach a file"
end_if
if_true
mail_send_netmail
else
......
......@@ -2,6 +2,6 @@
4 wSynchronet Reneclone Email System Menu r0

c4Ŀ0
4 [yRc]ead Email [yEc]nter Email 0
4 [yRc]ead Email [yEc]nter Email [yNc]etmail 0
4 [yVc]iew Outgoing [yQc]uit to Main [yGc]oodbye [y/Gc]oodbye Fast! 0
40n
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment