cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: SMTP: CURLOPT_MAIL_FROM vs CURLOPT_USERNAME

From: Steve Holme <steve_holme_at_hotmail.com>
Date: Tue, 10 Jun 2014 22:41:31 +0100

On Tue, 10 Jun 2014, Chandran, Naveen wrote:

> When testing with the latest libcurl version (curl 7.37.0) for
> SMTP, I observe that libcurl actually permits sending of emails
> even when an invalid FROM (or sender address) is passed to
> libcurl, but valid values (corresponding to an actual mailbox id)
> are maintained for the username/password options to curl.

Is it just 7.37.0 or have your tried the same code with an earlier version of libcurl?

> Kindly let me know if this behavior is actually as per any of the
> governing RFCs for SMTP.

It shouldn't be doing this.... Are you able to post a log either here or privately to me?

Kind Regards

Steve

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-06-10