I managed to solve this one:

  if UseEncryption then
  begin
    IdSMTP1.IOHandler := IdSSLIOHandlerSocketOpenSSL1;
    IdSMTP1.Port := 465;
    IdSMTP1.UseTLS := utUseImplicitTLS;
  end else
  begin
    IdSMTP1.IOHandler := Nil;
    IdSMTP1.Port := 25;
    IdSMTP1.UseTLS := utNoTLSSupport;
  end;

send.xtra.co.nz requires SSL <http://telecom.co.nz/ssl>, Authentication
(email address/password), and the sending email address to be validated
<http://help.telecom.co.nz/app/answers/detail/a_id/1547>.  smtp.xtra.co.nz
is much friendlier, but less reliable.  Hope this helps anyone else.

Alister.

Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266http://www.salespartner.co.nz
Follow us on Twitter http://twitter.com/salespartner
PO Box 13085
Johnsonville
Wellington



On Fri, Jul 25, 2014 at 10:46 AM, Alister Christie <
[email protected]> wrote:

> Does anyone have the magic incantations to get the Indy SMTP client
> working with send.xtra.co.nz?
>
> Alister Christie
> Computers for People
> Ph: 04 471 1849 Fax: 04 471 1266http://www.salespartner.co.nz
> Follow us on Twitter http://twitter.com/salespartner
> PO Box 13085
> Johnsonville
> Wellington
>
>
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [email protected] with 
Subject: unsubscribe

Reply via email to