curl-library
RE: SMTP+SSL fails with curl_multi_perform
From: Alona Rossen <arossen_at_opentext.com>
Date: Wed, 3 Nov 2010 16:44:51 -0400
Date: Wed, 3 Nov 2010 16:44:51 -0400
On Thu, 21 Oct 2010, Alona Rossen wrote:
> Attached are 4 test examples targeting non-SSL smtp.rogers.broadband
server
> and SSL gmail server. Emails can successfully be transferred via
non-SSL
> server (rogers) with easy and multi interface but multi interface
fails to
> send an email via SSL sever (gmail).
>>If we focus on the gmail case, can you please provide a full
trace/debug >>log
>>for a failed attempt? (edit out sensitive data)
-- This is a successful output with HEADER_IN, HEADER_OUT, TEXT options selected and DATA_IN, DATA_OUT options unselected with easy_perform(): Log file [C:\Temp\GenioLogFile.xml] Execution request created by Execution viewer from Designer (Manual launch) Running context [geniosol9] Engine [geniosol9] 15:42:13 Begin of process [gmail_smtps_solaris] ----------------------------------------------------------- Executing action START ----------------------------------------------------------- Executing action SEND MAIL 15:42:13 Sending mail INFO_TEXT: About to connect() to smtp.gmail.com port 587 (#0) INFO_TEXT: Trying 74.125.95.109... INFO_TEXT: connected INFO_TEXT: Connected to smtp.gmail.com (74.125.95.109) port 587 (#0) INFO_HEADER_IN: 220 mx.google.com ESMTP d21sm8455418 ibg.15 INFO_HEADER_OUT: EHLO geniosol9.hcl.com INFO_HEADER_IN: 250-mx.google.com at your service, [199.85.101.2] INFO_HEADER_IN: 250-SIZE 35651584 INFO_HEADER_IN: 250-8BITMIME INFO_HEADER_IN: 250-STARTTLS INFO_HEADER_IN: 250-ENHANCEDSTATUSCODES INFO_HEADER_IN: 250 PIPELINING INFO_HEADER_OUT: STARTTLS INFO_HEADER_IN: 220 2.0.0 Ready to start TLS INFO_TEXT: SSLv3, TLS handshake, Client hello (1): INFO_TEXT: SSLv3, TLS handshake, Server hello (2): INFO_TEXT: SSLv3, TLS handshake, CERT (11): INFO_TEXT: SSLv3, TLS handshake, Server finished (14): INFO_TEXT: SSLv3, TLS handshake, Client key exchange (16): INFO_TEXT: SSLv3, TLS change cipher, Client hello (1): INFO_TEXT: SSLv3, TLS handshake, Finished (20): INFO_TEXT: SSLv3, TLS change cipher, Client hello (1): INFO_TEXT: SSLv3, TLS handshake, Finished (20): INFO_TEXT: SSL conn ection using RC4-MD5 INFO_TEXT: Server certificate: INFO_TEXT: subject: C=US; ST=California; L=Mountain View; O=Google Inc; CN=smtp.gmail.com INFO_TEXT: start date: 2010-04-22 20:02:45 GMT INFO_TEXT: expire date: 2011-04-22 20:12:45 GMT INF O_TEXT: common name: smtp.gmail.com (matched) INFO_TEXT: issuer: C=US; O=Google Inc; CN=Google Internet Authority INFO_TEXT: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway. INFO_HEADER_OUT: EHLO geniosol9.hcl.com INFO_HEADER_IN: 250-mx.google.com at your service, [199.85.101.2] INFO_HEADER_IN: 250-SIZE 35651584 INFO_HEADER_IN: 250-8BITMIME INFO_HEADER_IN: 250-AUTH LOGIN PLAIN XOAUTH INFO_HEADER_IN: 250-ENHANCEDSTATUSCODES INFO_HEADER_IN: 250 PIPELINING INFO_HEADER_OUT: AUTH PLAIN XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX INFO_HEADER_IN: 235 2.7.0 Accepted INFO_HEADER_OUT: MAIL FROM:<alona.rossen_at_gmail.com> INFO_HEADER_IN: 250 2.1.0 OK d21sm8455418ibg.15 INFO_HEADER_OUT: RCPT TO:<arossen_at_opentext.com> INFO_HEADER_IN: 250 2.1.5 OK d21sm8455418ibg.15 INFO_HEADER_OUT: DATA INFO_HEADER_IN: 354 Go ahead d21sm8455418ibg.15 INFO_TEXT: Expire cleared INFO_HEADER_IN: 250 2.0.0 OK 1288816937 d21sm8455418ibg.15 INFO_TEXT: Connection #0 to host smtp.gmail.com left intact ----------------------------------------------------------- Executing action END 15:42:16 End of process [gmail_smtps_solaris] 15:42:16 Process return : 0 ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-11-03