aboutsummaryrefslogtreecommitdiffstats
path: root/smtp.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-01-22 18:45:08 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-01-22 18:45:08 +0000
commita0b445a903dd44b04ea114e1fb0ca48375017444 (patch)
tree39d85c7aceab9fab55fa3ecfcb0dc382a742e83d /smtp.h
parentc8f5b8d2f6e6e9b4e6d5192175adde1befe268fc (diff)
downloadfetchmail-a0b445a903dd44b04ea114e1fb0ca48375017444.tar.gz
fetchmail-a0b445a903dd44b04ea114e1fb0ca48375017444.tar.bz2
fetchmail-a0b445a903dd44b04ea114e1fb0ca48375017444.zip
Support for EHLO and 8BITMIME extension.
svn path=/trunk/; revision=803
Diffstat (limited to 'smtp.h')
-rw-r--r--smtp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/smtp.h b/smtp.h
index cdcadd5a..ff3f7ac3 100644
--- a/smtp.h
+++ b/smtp.h
@@ -14,8 +14,13 @@
#define SM_ERROR 128
#define SM_UNRECOVERABLE 129
+/* ESMTP extension option masks (not all options are listed here) */
+#define ESMTP_8BITMIME 0x01
+#define ESMTP_SIZE 0x02
+
int SMTP_helo(FILE *sockfp,char *host);
-int SMTP_from(FILE *sockfp,char *from);
+int SMTP_ehlo(FILE *sockfp,char *host,int *opt);
+int SMTP_from(FILE *sockfp,char *from,char *opts);
int SMTP_rcpt(FILE *sockfp,char *to);
int SMTP_data(FILE *sockfp);
int SMTP_eom(FILE *sockfp);