summaryrefslogtreecommitdiff
path: root/alpine/send.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2016-03-28 19:13:55 -0600
committerEduardo Chappa <chappa@washington.edu>2016-03-28 19:13:55 -0600
commit1b64ebe9b934d70fe6373b52e4adb247fda5f448 (patch)
treedff12c85a4179d9b4770fe8e3baa6c6205ae33d4 /alpine/send.c
parent3540ba1bb81b478884944159730cce66f9bdb8fa (diff)
downloadalpine-1b64ebe9b934d70fe6373b52e4adb247fda5f448.tar.xz
* When a message is saved in the Form Letter folder, add the ability
to save the role being used to compose such message so that settings such as the SMTP server set in the role can be used when sending such form message. Suggested and patched by Frank Doepper.
Diffstat (limited to 'alpine/send.c')
-rw-r--r--alpine/send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/alpine/send.c b/alpine/send.c
index 23b0c79d..dfba59f3 100644
--- a/alpine/send.c
+++ b/alpine/send.c
@@ -568,7 +568,7 @@ compose_mail(char *given_to, char *fcc_arg, ACTION_S *role_arg,
if(F_ON(F_ALT_COMPOSE_MENU, ps_global) ||
(ret = want_to(FORM_PMT,'y','x',NO_HELP,WT_NORM))=='y'){
if(!redraft(&stream, &outgoing, &body, &fcc, &lcc, &reply,
- &redraft_pos, &custom, NULL, REDRAFT_NONE))
+ &redraft_pos, &custom, &role, REDRAFT_NONE))
done++;
/* stream may or may not be closed in redraft() */