aboutsummaryrefslogtreecommitdiffstats
path: root/smtp.h
diff options
context:
space:
mode:
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);