cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SMTP functionality with authentication fails!

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 30 Nov 2012 15:54:57 +0100 (CET)

On Fri, 30 Nov 2012, Chandran, Naveen wrote:

> Attempting to run the attached SMTP code (for sending a sample mail from a
> valid gmail mail account to another, using gmail's SMTP server) fails. I've
> tried with ports 25, 465 and 587, but without success.
>
> Even trying to use the 'CURLUSESSL_ALL' option along with the
> CURLOPT_SSL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST set to zero do not seem to
> work! Kindly let me know if I am missing something very basic here.

Which libcurl version are you using?

Please tell us exactly what happens when you run it, preferably with a debug
verbose log included. Just edit out any sensible info before you send it off!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-11-30