aboutsummaryrefslogtreecommitdiff
path: root/lib/smtp.h
diff options
context:
space:
mode:
authorPatrick Monnerat <Patrick.Monnerat@datasphere.ch>2010-02-22 12:41:02 +0000
committerPatrick Monnerat <Patrick.Monnerat@datasphere.ch>2010-02-22 12:41:02 +0000
commit338553eda38a7ed163f935e28461eeda6dde294f (patch)
tree62e46e9a2580449f181c6933fa580d37443c4098 /lib/smtp.h
parent2abcd132f832cbd1f3a476e655f47b6a02862db3 (diff)
- 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.h1
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 */