curl-library
RE: SMTP: CURLOPT_MAIL_FROM vs CURLOPT_USERNAME
Date: Wed, 11 Jun 2014 07:59:05 +0100
On Wed, 11 Jun 2014, Chandran, Naveen wrote:
> I happened to test this with an earlier version of libcurl
> too (v 7.28.1) and the behavior was still the same
Interesting...
> I'm copying the curl verbose logs here for your reference
> (with the sensitive portions edited):
>
> > MAIL FROM:<invalid_email_at_somedomain.com>
> < 250 2.1.0 OK l6sm88100403oeq.0 - gsmtp
From libcurl's point of view the MAIL FROM was accepted by the server.
> > RCPT TO:<naveen.chandran_at_hp.com>
> < 250 2.1.5 OK l6sm88100403oeq.0 - gsmtp
...and then it continued to send the RCPT TO And DATA commands as I would expect ;-)
I would be interested to know what you are sending in the Header part of the email. Are you able to post that here as well ?
Cheers
Steve
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-06-11