[DUG] Indy Smtp and XTRA
Stephen Barker
Steve at webdata.co.nz
Mon Aug 27 09:25:10 NZST 2007
Hi,
Xtra are now requiring SSL, port 465 for sending:
with Yahoo!Xtra Pro Mail
http://xtra.co.nz/help/0,,4150-7780758,00.html
I haven't used Indy for SSL connections, but I have used it with smtp
authentication:
...
statusbar1.panels[0].Text:='Sending';
application.processmessages;
with TIdSMTP.create(nil) do try
Host := edit1.text;
//ReadTimeout:=10000;
Username := edUserName.Text;
Password := edPassword.Text;
if rbAuthTypeNone.Checked then
AuthType := atNone
else if rbAuthTypeDefault.Checked then
AuthType := atDefault;
//else if rbAuthTypeSASL.Checked then begin
// AuthType := atSASL;
//end;
try
Connect;
try
Send(IdMessage2);
...
Steve
> -----Original Message-----
> From: David Moorhouse [mailto:delphi at moorhouse.net.nz]
> Sent: Monday, 27 August 2007 8:29 a.m.
> To: NZ Borland Developers Group - Delphi List
> Subject: Re: [DUG] Indy Smtp and XTRA
>
> Xtra were using port 25. I've another support customer that
> has switched
> away from xtra due to the hassles of last weeeknd.
>
> Wonder how many they lost !
>
> Cheers
>
> D
>
> On Mon, 27 Aug 2007 08:14:47 +1200, you wrote:
>
> >I don't know about Xtra, but ISPs sometimes uses
> non-standard ports for
> >SMTP sending (maybe in an attempt to cut down on the sending
> of spam?)
> >Mine uses 2525 for example.
> >
> >C.
> >
> >-----Original Message-----
> >From: delphi-bounces at delphi.org.nz
> [mailto:delphi-bounces at delphi.org.nz]
> >On Behalf Of Bevan Edwards
> >
> >We don't use Indy, but we have had few problems connecting
> to Xtra since
> >the change. But what are you talking about with port 465? SMTP uses
> >port 25.
> >
> >_______________________________________________
> >NZ Borland Developers Group - Delphi mailing list
> >Post: delphi at delphi.org.nz
> >Admin: http://delphi.org.nz/mailman/listinfo/delphi
> >Unsubscribe: send an email to delphi-request at delphi.org.nz
> with Subject: unsubscribe
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz
> with Subject: unsubscribe
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.484 / Virus Database: 269.12.8/973 - Release
> Date: 25/08/2007 5:00 p.m.
>
>
More information about the Delphi
mailing list