cURL / Mailing Lists / curl-library / Single Mail


RE: SMTP recipient issues

From: Steve Holme <>
Date: Wed, 6 Jun 2012 20:07:03 +0100

Hi Dan,

> I've been working with cURL for about 2 weeks and I've been scouring
> the web looking for the solution to my problem to no avail- I'm sorry
> if I missed the answer somewhere along the way.

Welcome to curl and libcurl ;-)

> My problem arises when there are multiple recipients of an email
> and one of the recipients is invalid- it would seem that the behaviour
> of cURL is designed to stop sending the message immediately- which
> becomes an issue for the application I am designing, which expects a
> less brittle implementation.

I've been developing for curl and libcurl for about 12 months now (since
v7.21.7) and kind of look after the SMTP and POP3 modules after adding a
fair bit of functionality to both of them, however, some of the other guys
around here are more experienced than me and maybe able to give you a better

> I am curious if this is a known behavior of cURL, if it was intentional,
> and if I can get around it.

I'm kind of guessing what the problem might be at the moment as it largely
depends what your mail server returns in response the MAil RCPT command.

Are you able to generate verbose logging with Curl_easy_setopt(curl,
CURLOPT_VERBOSE, 1) and post the results?



List admin:
Received on 2012-06-06