Visual C++ Examples

ChilkatHOMEAndroid™ASPVisual BasicVB.NETC#iOS (IPhone)Objective-CC++CMFCDelphiFoxProJavaPerl
PHP ExtensionPHP ActiveXPythonPowerShellRubySQL ServerVBScript

C++ Examples

CkString
Byte Array
Bounced Mail
Bz2
Character Encoding
CSV
DH Key Exchange
DKIM/DomainKeys
Digital Certificates
Digital Signatures
DSA
Email
Email Object
Encryption
FTP
HTML Conversion
HTTP
IMAP
MHT / HTML Email
POP3
RSA
S/MIME
SMTP
Socket
Spider
SSH Key
SSH
SSH Tunnel
SFTP
Tar
Upload
XML
XMP
Zip Compression


More Examples...
Amazon S3
NTLM
FileAccess
RSS
Atom
Self-Extractor
Service
PPMD
Deflate
Bzip2
LZW

 

 

 

 

 

 

 

 

Verify POP3 TCP/IP Connection

Downloads:

MS Windows Visual C/C++ Libraries
Linux/CentOS C/C++ Libraries
MAC OS X C/C++ Libraries
Solaris C/C++ Libraries
C++ Builder Libraries

Source code to verify that it is possible to connect to a POP3 server.

// The Chilkat Email library is also available as an ActiveX component
// or .NET class with the identical set of methods and properties.

// Verify a POP3 TCP/IP socket connection.
void EmailExample(void)
    {
    CkString str;
    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;
	}

    // 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);

    // Verify the POP3 TCP/IP connection.
    bool success = mailman.VerifyPopConnection();
    if (!success)
	{
	mailman.LastErrorText(str);
	printf("%s",str.getString());
	}

 

 

 

© 2000-2010 Chilkat Software, Inc. All Rights Reserved.

Mail Component · .NET Mail Component · XML Parser