diff options
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); |