diff options
author | Patrick Monnerat <Patrick.Monnerat@datasphere.ch> | 2010-02-22 12:41:02 +0000 |
---|---|---|
committer | Patrick Monnerat <Patrick.Monnerat@datasphere.ch> | 2010-02-22 12:41:02 +0000 |
commit | 338553eda38a7ed163f935e28461eeda6dde294f (patch) | |
tree | 62e46e9a2580449f181c6933fa580d37443c4098 /lib/smtp.h | |
parent | 2abcd132f832cbd1f3a476e655f47b6a02862db3 (diff) | |
download | curl-338553eda38a7ed163f935e28461eeda6dde294f.tar.gz |
- Proper handling of STARTTLS on SMTP, taking CURLUSESSL_TRY into account.
- SMTP falls back to RFC821 HELO when EHLO fails (and SSL is not required).
- Use of true local host name (i.e.: via gethostname()) when available, as default argument to SMTP HELO/EHLO.
- Test case 804 for HELO fallback.
Diffstat (limited to 'lib/smtp.h')
-rw-r--r-- | lib/smtp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/smtp.h b/lib/smtp.h index 02cd467f5..41efabba4 100644 --- a/lib/smtp.h +++ b/lib/smtp.h @@ -33,6 +33,7 @@ typedef enum { SMTP_SERVERGREET, /* waiting for the initial greeting immediately after a connect */ SMTP_EHLO, + SMTP_HELO, SMTP_STARTTLS, SMTP_MAIL, /* MAIL FROM */ SMTP_RCPT, /* RCPT TO */ |