From a0b445a903dd44b04ea114e1fb0ca48375017444 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 22 Jan 1997 18:45:08 +0000 Subject: Support for EHLO and 8BITMIME extension. svn path=/trunk/; revision=803 --- smtp.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'smtp.h') 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); -- cgit v1.2.3