Error sending email using sendmail

Hi,

I tried to install mail::sendmail on my windows machine. I set the
gmail server. smtp.gmail.com. I used my gmail account as From and To
too.It gave me a test.pl which i ran.But gave me the message.

ok 1
Server set to: smtp.gmail.com
Sending...
Server said: 530 5.7.0 Must issue a STARTTLS command first
f79sm1571231pyh

!Error sending mail:
MAIL FROM: error (530 5.7.0 Must issue a STARTTLS command first
f79sm1571231pyh
)
Server said: 530 5.7.0 Must issue a STARTTLS command first
f79sm1571231pyh

not ok 2

Can anybody help me to solve this issue.

cheers,
jis
jis [ Fr, 17 August 2007 04:55 ] [ ID #1798341 ]

Re: Error sending email using sendmail

jis wrote:
> Hi,
>
> I tried to install mail::sendmail on my windows machine. I set the
> gmail server. smtp.gmail.com. I used my gmail account as From and To
> too.It gave me a test.pl which i ran.But gave me the message.
>
> ok 1
> Server set to: smtp.gmail.com
> Sending...
> Server said: 530 5.7.0 Must issue a STARTTLS command first
> f79sm1571231pyh
>
> !Error sending mail:
> MAIL FROM: error (530 5.7.0 Must issue a STARTTLS command first
> f79sm1571231pyh
> )
> Server said: 530 5.7.0 Must issue a STARTTLS command first
> f79sm1571231pyh
>
> not ok 2
>
> Can anybody help me to solve this issue.
>
> cheers,
> jis
>

It sounds like Google expects you to have a TLS session established
prior to exchanging login and password information (TLS before AUTH).
Not a bad idea, otherwise your account is exchanged in clear text.

dp
dp [ Fr, 17 August 2007 06:53 ] [ ID #1798343 ]

Re: Error sending email using sendmail

On Aug 16, 11:53 pm, dp <d... [at] urflink.net> wrote:
> jis wrote:
> > Hi,
>
> > I tried to install mail::sendmail on my windows machine. I set the
> > gmail server. smtp.gmail.com. I used my gmail account as From and To
> > too.It gave me a test.pl which i ran.But gave me the message.
>
> > ok 1
> > Server set to: smtp.gmail.com
> > Sending...
> > Server said: 530 5.7.0 Must issue a STARTTLS command first
> > f79sm1571231pyh
>
> > !Error sending mail:
> > MAIL FROM: error (530 5.7.0 Must issue a STARTTLS command first
> > f79sm1571231pyh
> > )
> > Server said: 530 5.7.0 Must issue a STARTTLS command first
> > f79sm1571231pyh
>
> > not ok 2
>
> > Can anybody help me to solve this issue.
>
> > cheers,
> > jis
>
> It sounds like Google expects you to have a TLS session established
> prior to exchanging login and password information (TLS before AUTH).
> Not a bad idea, otherwise your account is exchanged in clear text.
>
> dp- Hide quoted text -
>
> - Show quoted text -

How do I get over this problem?
jis [ Fr, 17 August 2007 15:35 ] [ ID #1798347 ]

Re: Error sending email using sendmail

In article <1187357714.805749.22910 [at] r29g2000hsg.googlegroups.com>,
jis <jismagic [at] gmail.com> wrote:

> On Aug 16, 11:53 pm, dp <d... [at] urflink.net> wrote:
> > jis wrote:
> > > Hi,
> >
> > > I tried to install mail::sendmail on my windows machine. I set the
> > > gmail server. smtp.gmail.com. I used my gmail account as From and To
> > > too.It gave me a test.pl which i ran.But gave me the message.
> >
> > > ok 1
> > > Server set to: smtp.gmail.com
> > > Sending...
> > > Server said: 530 5.7.0 Must issue a STARTTLS command first
> > > f79sm1571231pyh
> >
> > > !Error sending mail:
> > > MAIL FROM: error (530 5.7.0 Must issue a STARTTLS command first
> > > f79sm1571231pyh
> > > )
> > > Server said: 530 5.7.0 Must issue a STARTTLS command first
> > > f79sm1571231pyh
> >
> > > not ok 2
> >
> > > Can anybody help me to solve this issue.
> >
> > > cheers,
> > > jis
> >
> > It sounds like Google expects you to have a TLS session established
> > prior to exchanging login and password information (TLS before AUTH).
> > Not a bad idea, otherwise your account is exchanged in clear text.
> >
> > dp- Hide quoted text -
> >
> > - Show quoted text -
>
> How do I get over this problem?

You probably want to start by finding a more relevant place to ask the
question. This newsgroup is focused on the Sendmail MTA, not the
stupidly misnamed (http://alma.ch/perl/Mail-Sendmail-FAQ.html#called)
Mail::Sendmail perl module.

Google ONLY accepts mail through its GMail server using TLS, and it
appears that Mail::Sendmail does not support TLS.

--
Now where did I hide that website...
Bill Cole [ Fr, 17 August 2007 17:09 ] [ ID #1798350 ]
Miscellaneous » comp.mail.sendmail » Error sending email using sendmail

Vorheriges Thema: discart mail.
Nächstes Thema: Milter Action Refinement