diff options
author | Brendan Cully <brendan@kublai.com> | 2007-04-11 13:40:10 -0700 |
---|---|---|
committer | Brendan Cully <brendan@kublai.com> | 2007-04-11 13:40:10 -0700 |
commit | d7ef16c1c10a483af8513951bcc3201ea4e0cb6a (patch) | |
tree | 1ae20b3b142385b6445b7362e6738e0286de1235 /account.c | |
parent | 4877789259d2906da35870c20fd71ec0b81b15a3 (diff) |
Add $smtp_pass (closes #2116)
Diffstat (limited to 'account.c')
-rw-r--r-- | account.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -214,6 +214,10 @@ int mutt_account_getpass (ACCOUNT* account) else if ((account->type == M_ACCT_TYPE_POP) && PopPass) strfcpy (account->pass, PopPass, sizeof (account->pass)); #endif +#ifdef USE_SMTP + else if ((account->type == M_ACCT_TYPE_SMTP) && SmtpPass) + strfcpy (account->pass, SmtpPass, sizeof (account->pass)); +#endif else { snprintf (prompt, sizeof (prompt), _("Password for %s@%s: "), |