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

Displays external netmail address before prompting to forward.

parent d2aab408
Branches
Tags
No related merge requests found
......@@ -78,10 +78,11 @@ bool sbbs_t::email(int usernumber, char *top, char *subj, long mode)
if(l&(DELETED|INACTIVE)) { /* Deleted or Inactive User */
bputs(text[UnknownUser]);
return(false); }
if(l&NETMAIL && cfg.sys_misc&SM_FWDTONET
&& yesno(text[ForwardMailQ])) { /* Forward to netmail address */
if(l&NETMAIL && cfg.sys_misc&SM_FWDTONET) {
getuserrec(&cfg,usernumber,U_NETMAIL,LEN_NETMAIL,str);
return(netmail(str,subj,mode));
bprintf(text[UserNetMail],str);
if(yesno(text[ForwardMailQ])) /* Forward to netmail address */
return(netmail(str,subj,mode));
}
bprintf(text[Emailing],username(&cfg,usernumber,tmp),usernumber);
action=NODE_SMAL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment