Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
POP3 SPA Authentication (Secure Password Authentication)
Delphi mail programming example showing how to use POP3 SPA. // Delphi sample code showing how to read POP3 mail with // POP3 SPA (Secure Password Authentication) procedure TForm1.Button6Click(Sender: TObject); var bundle: IChilkatEmailBundle2; begin // A ChilkatMailMan2 ActiveX component was dropped onto the Delphi // form, and this became the Form's member variable "ChilkatMailMan21". // Unlock the component -- only needs to be called once in a program. ChilkatMailMan21.UnlockComponent('Anything for 30-day trial'); // Set the POP3 mail server hostname, login, and password. ChilkatMailMan21.MailHost := 'mail.chilkatsoft.com'; ChilkatMailMan21.PopUsername := '***'; ChilkatMailMan21.PopPassword := '***'; // Using SPA Authentication with POP3 is as easy as simply // setting the Pop3SPA property = 1. That's all... ChilkatMailMan21.Pop3SPA := 1; // Read the entire mailbox, leaving the mail on the POP3 server. bundle := ChilkatMailMan21.CopyMail(); if (bundle = nil) then ChilkatMailMan21.SaveLastError('errorLog.xml'); end;
|
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2010 Chilkat Software, Inc. All Rights Reserved.