curl-users
RE: curl-smtp-gmail commandline example, please?
Date: Mon, 11 Oct 2010 22:51:02 +0200
Ok, the thing is that Bredbandsbolaget, my ISP blocks port 25 (which is quite common) in an effort to minimize spam originating from their network. Could you please try the other two gmail ports and test if they work? (465, 587)
Sorry to keep pesting you, but I'm paranoid and not quite convinced curl does what we hope it does.
Thanks again
/Sune
> Date: Mon, 11 Oct 2010 21:42:11 +0200
> From: daniel_at_haxx.se
> To: curl-users_at_cool.haxx.se
> Subject: RE: curl-smtp-gmail commandline example, please?
>
> 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.html
-------------------------------------------------------------------
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.html
Received on 2010-10-11