Curl: support multiple recipients (RCPT TO) with invalid recipients

Created on 11 Apr 2018  路  1Comment  路  Source: curl/curl

I did this

There are correct address and wrong address like below

recipients = curl_slist_append(recipients, "[email protected]");
recipients = curl_slist_append(recipients, "[email protected]");

I tried to send email. but failed.

< 250 2.1.5 <[email protected]>... Recipient ok
> RCPT TO:<[email protected]>
< 550 5.1.1 RUSR 111.222.111.222: No such user: <[email protected]>
* RCPT failed: 550
> QUIT
< 221 2.0.0

I expected the following

success for sending email to [email protected] address

curl/libcurl version

7.59.0

operating system

osx 10.13.4

KNOWN_BUGS material SMTP help wanted

Most helpful comment

This is unfortunately a known bug, already mentioned here https://curl.haxx.se/docs/knownbugs.html#SMTP_to_multiple_recipients

Feel free to work on a fix!

>All comments

This is unfortunately a known bug, already mentioned here https://curl.haxx.se/docs/knownbugs.html#SMTP_to_multiple_recipients

Feel free to work on a fix!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gaul picture gaul  路  6Comments

napasa picture napasa  路  5Comments

Dirbaio picture Dirbaio  路  3Comments

SoniEx2 picture SoniEx2  路  4Comments

yan12125 picture yan12125  路  3Comments