Show
Ignore:
Timestamp:
2007-02-23 22:37:31 (22 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
HEAD
Message:

This patch adds ESMTP relay support to mutt.
To use, set $smtp_url to the address of your smtp relay, in the form:

smtp[s]://[user[:password]@]host[:port]/

where port defaults to 25 for smtp and 465 for smtps.

You can also set $smtp_authenticators to control which methods mutt
will attempt to use during authentication. See $imap_authenticators
for details.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • account.c

    r4888 r4919  
    124124#endif 
    125125 
     126#ifdef USE_SMTP 
     127  if (account->type == M_ACCT_TYPE_SMTP) 
     128  { 
     129    if (account->flags & M_ACCT_SSL) 
     130      url->scheme = U_SMTPS; 
     131    else 
     132      url->scheme = U_SMTP; 
     133  } 
     134#endif 
     135 
    126136  url->host = account->host; 
    127137  if (account->flags & M_ACCT_PORT)