cURL / Mailing Lists / curl-library / Single Mail


Re: SMTP recipient issues

From: Daniel Stenberg <>
Date: Fri, 8 Jun 2012 23:43:33 +0200 (CEST)

On Fri, 8 Jun 2012, Dan wrote:

> Alright ya'll. I may have found another issue, but maybe it's just me.
> Arising from the loop idea that was brought up as a temporary workaround- if
> curl_slist_free_all is called and I loop around and add a recipient to the
> same slist I just free all'ed, it creates an infinitely linked list- so you
> need to append to a NULL slist (see attached example).

When you free the list you of course need to start on a blank new one when
starting over. Your code as shown didn't seem to do that.

> Could someone tell me why the value from curl_easy_perform() on an invalid
> address returns CURLE_LOGIN_DENIED and verify that it is unique from invalid
> login information?

Can you show us the VERBOSE output and we might figure it out. Using libcurl

List admin:
Received on 2012-06-08