curl-users
RE: curl-smtp-gmail commandline example, please?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 11 Oct 2010 21:42:11 +0200 (CEST)
Date: Mon, 11 Oct 2010 21:42:11 +0200 (CEST)
On Mon, 11 Oct 2010, Sune Ahlgren wrote:
> It still won't work. I have numbered my tries and commented them below:
> Can someone please spot my mistake?
Ok, to remove any doubts that I made a mistake I just sent myself a mail with
curl using my gmail. Like this:
curl smtp://smtp.gmail.com -v
-T mailtest (using your example mail basically)
--mail-from '<my-full-gmail-address>' (the <> letters are necessary!)
--mail-rcpt '<daniel_at_haxx.se>' (you might want another address)
--ssl (gmail requires it)
-u [my gmail user]:[my gmail password] (full user withouth @gmail.com)
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-10-11