cURL / Mailing Lists / curl-library / Single Mail


Re: Send Email with curl

From: Jeff Pohlmeyer <>
Date: Fri, 23 May 2008 04:21:20 -0500

Luiz Rafael Culik Guimaraes <> wrote:
> Aleksandar Lazic <> wrote:

>> Luiz Rafael Culik Guimaraes wrote:
>>> is possible to send email with curl ( using C language bindings) ?

>> Well, you could talk over HTTP to a CGI web form that could send mail
>> from a server, but if you're talking about SMTP directly from libcurl,
>> no is the right answer.
> Webmail ( servers that require ssl , like gmail)

This is possible - but not what I would call easy!

If you can figure out what your web browser is doing
when it sends a webmail, then yes, libcurl can most
likely emulate the same behavior.

But my experience is that these sort of ad-supported webmail
services change the way their system operates on regular basis,
so what works today might very likely be broken tomorrow.

That said, you might google around a bit for some other
solution, i think there are some perl scripts floating around
for at least yahoo and hotmail.
 (i think some of them even use curl :-)

 - Jeff
Received on 2008-05-23