cURL / Mailing Lists / curl-library / Single Mail

curl-library

(no subject)

From: Alona Rossen <arossen_at_opentext.com>
Date: Tue, 19 Oct 2010 10:40:03 -0400

 

Hi All,

 

Please see attached a small test application with a make file for
Solaris platform.

I attempt to send an email using SMTP via gmail account and I
consistemtly receive "Login denied". I am certain that my usr/pwd are
correct.

 

The same code without SSL part works perfectly for several other SMTP
servers including smtp.broadband.rogers.com:587

 

Please advise where I go wrong .

 

 

* About to connect() to smtp.gmail.com port 587 (#0)

* Trying 74.125.65.109... * connected

* Connected to smtp.gmail.com (74.125.65.109) port 587 (#0)

< 220 mx.google.com ESMTP x42sm11638030yhc.1

> EHLO geniosol9

< 250-mx.google.com at your service, [199.85.101.2]

< 250-SIZE 35651584

< 250-8BITMIME

< 250-STARTTLS

< 250-ENHANCEDSTATUSCODES

< 250 PIPELINING

> QUIT

< 221 2.0.0 closing connection x42sm11638030yhc.1

* Closing connection #0

* Login denied

 

 

Thank you,

Alona

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

  • application/octet-stream attachment: Makefile
Received on 2010-10-19