[DUG] Indy Smtp and XTRA

Rohit Gupta rohit at cfl.co.nz
Mon Aug 27 09:38:23 NZST 2007


To clarify, all email to xtra now uses SSL.  Some apps recognise the 
port number and switch automatically.

You either have to use SSL in Indy or use the SSL layer that xtra are 
providing.  We are using the latter.  The code then is

     if FUseSSL
     then begin
         {$ifdef gtD11}
         AuthType := atDefault;
         {$else}
         AuthenticationType := atLogin;
         {$endif gtDll}
     end
     else begin
         {$ifdef gtD11}
         AuthType := atNone;
         {$else}
         AuthenticationType := atNone;
         {$endif gtDll}
     end


Sandeep Chandra wrote:
> Hi
>
> I am having difficulty connecting to xtra smtp server after they changed their smtp server to point to send.xtra.co.nz and port to 465.
>
> Has anyone managed to send emails using xtra after this change and if so could anyone please give an example of what needs to be done in order for this to work.
>
> Regards
>
> Sandeep
>
>
>   

-- 
*Rohit Gupta*
* B.E. Elec.   M.E.   Mem IEEE    Associate IEE*
*Technical Manager*
*Computer Fanatics Limited*
** 
*Tel*     +64 9 4892280
*Fax*    +64 9 4892290
*Email  *rohit at cfl.co.nz <mailto:rohit at cfl.co.nz>**
*Web    *www.cfl.co.nz <http://www.cfl.co.nz/>
 
------------------------------------------------------------------------
This email and any attachments contain information, which is 
confidential and may be subject to legal privilege and copyright. If you 
are not the intended recipient, you must not use, distribute or copy 
this email or attachments. If you have received this in error, please 
notify us immediately by return email and then delete this email and any 
attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.adventureeducation.co.nz/pipermail/delphi/attachments/20070827/08f36fdd/attachment.html


More information about the Delphi mailing list