From 0cf0ab6f3008aaad0bb5e3291539e80123028864 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Wed, 5 Oct 2011 22:22:29 +0100 Subject: smtp_mail: Added support to MAIL FROM for the optional AUTH parameter Added a new CURLOPT_MAIL_AUTH option that allows the calling program to set the optional AUTH parameter in the MAIL FROM command. When this option is specified and an authentication mechanism is used to communicate with the mail server then the AUTH parameter will be included in the MAIL FROM command. This is particularly useful when the calling program is acting as a relay in a trusted environment and performing server to server communication, as it allows the relaying server to specify the address of the mailbox that was used to authenticate and send the original email. --- lib/urldata.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/urldata.h') diff --git a/lib/urldata.h b/lib/urldata.h index 0463006c6..1f3853dc7 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1335,6 +1335,7 @@ enum dupstring { STRING_SOCKS5_GSSAPI_SERVICE, /* GSSAPI service name */ #endif STRING_MAIL_FROM, + STRING_MAIL_AUTH, #ifdef USE_TLS_SRP STRING_TLSAUTH_USERNAME, /* TLS auth */ -- cgit v1.2.3