Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
Set POP3 Connect and Read Timeout ParametersDownloads: MS Windows Visual C/C++ Libraries Linux/CentOS C/C++ Libraries MAC OS X C/C++ Libraries Solaris C/C++ Libraries C++ Builder Libraries Demonstrates how to set POP3 timeout values for reading email. CkMailMan mailman; // Any string passed to UnlockComponent begins the 30-day trial. bool unlocked = mailman.UnlockComponent("30-day trial"); if (!unlocked) { printf("Failed to unlock component\n"); return; } mailman.put_MailHost("mail.chilkatsoft.com"); mailman.put_PopUsername("matt"); mailman.put_PopPassword(myPassword); // Set the POP3 port to the standard MS Exchange Server SSL POP3 port 995 // mailman.put_MailPort(995); // Tell the mailman to connect to POP3 using SSL // mailman.put_PopSsl(true); // Set the POP3 connect timeout to 5 seconds mailman.put_ConnectTimeout(5); // Set the POP3 read timeout to 10 seconds. mailman.put_ReadTimeout(10); ...
|
© 2000-2010 Chilkat Software, Inc. All Rights Reserved.