diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-01-22 18:45:08 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-01-22 18:45:08 +0000 |
commit | a0b445a903dd44b04ea114e1fb0ca48375017444 (patch) | |
tree | 39d85c7aceab9fab55fa3ecfcb0dc382a742e83d /smtp.h | |
parent | c8f5b8d2f6e6e9b4e6d5192175adde1befe268fc (diff) | |
download | fetchmail-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.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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); |