Hello,

I'm just having this problem. I successfully sent an email with libcurl and the 
connection stays open (first line). Then I try to send another one:

...
2012-12-06 15:33:49 : CURL: Connection #0 to host smtp.xxxxxxxxxx.com left 
intact
2012-12-06 15:34:59 : CURL: Re-using existing connection! (#0) with host (nil)
2012-12-06 15:34:59 : CURL: Connected to (nil) (80.67.29.4) port 25 (#0)
2012-12-06 15:34:59 : CURL: MAIL FROM:<[email protected]>
2012-12-06 15:34:59 : CURL: SSL read: error:00000000:lib(0):func(0):reason(0), 
errno 54
2012-12-06 15:34:59 : CURL: SSL_write() returned SYSCALL, errno = 32
2012-12-06 15:34:59 : CURL: Closing connection #0
2012-12-06 15:34:59 : CURL: Failure when receiving data from the peer

Any idea why it complains with SSL read: 
error:00000000:lib(0):func(0):reason(0), errno 54?

Am I doing something wrong here?

But occasionally it is working, but I don't know the reason (same code, same 
smtp-server, same user):

...
2012-12-06 15:40:00 : CURL: Connection #0 to host smtp.xxxxxxxxxx.com left 
intact
2012-12-06 15:40:47 : CURL: Re-using existing connection! (#0) with host (nil)
2012-12-06 15:40:47 : CURL: Connected to (nil) (80.67.29.4) port 25 (#0)
2012-12-06 15:40:47 : CURL: MAIL FROM:<[email protected]>
2012-12-06 15:40:47 : CURL: 250 OK
...

Viele Grüße,

Volker Schmid
CTO


regify®
your mail matters


regify S.A. | 2b, Ennert dem Bierg | L-5244 Sandweiler / Luxembourg

phone: +352-268932-1 | internet: www.regify.com
executive board: Kurt Kammerer, Volker Schmid
supervisory board chairman: Dr. Hans-Peter Kohlhammer
commercial register: Registre de Commerce et des Sociétés B 156705


regify AG | Römerstrasse 39 | D-78183 Hüfingen / Germany

Telefon: +49 771-89784-236 | Internet: www.regify.com
Vorstand: Kurt Kammerer, Volker Schmid
Vorsitzender des Aufsichtsrats: Dr. Hans-Peter Kohlhammer
Handelsregister: Amtsgericht Freiburg HRB 702150


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to