[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sendemail with gmail?

On 3/9/07, Juergen Fiedler <juergen@fiedlerfamily.net> wrote:
On Fri, Mar 09, 2007 at 12:21:00PM -0300, Bruno Buys wrote:
>    Anyone succeeded using sendemail (its not sendmail) with gmail? I
>    installed the tls related packages, enabled -tls=yes in the command line,
>    but no go. And I already did what this guy at
>    http://caspian.dotconf.net/menu/Software/SendEmail/ said, under 'tls
>    support'.
>    Other smtp's do work.
>    Any help is appreciated!

In sid, the following works for me:

sendEmail -f my.account@gmail.com -t myself@domain.tld \
          -u test -m "this is a test" \
          -s smtp.gmail.com \
          -o tls=yes \
          -xu my.account -xp mypasswd

With the appropriate values for -f, -t, -xu and -xp, the mail is sent
successfully and arrives as expected.

Good luck,

Hi Juergen, thanks for replying.
I tried your line, and here's the output:

Mar 09 14:58:26 cestudos sendEmail[3111]: WARNING => Name/Value pair [tls=yes] will be ignored: unknown key [tls]
Mar 09 14:58:27 cestudos sendEmail[3111]: ERROR => Received:    530 5.7.0 Must issue a STARTTLS command first b12sm3710770ana

Shall I generate a tls key first? How?

Reply to: