VB.NET Examples

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

VB.NET Examples

Bounced Mail
Bz2
Character Encoding
CSV
Digital Certificates
Digital Signatures
Email
FTP
HTML Conversion
HTTP
IMAP
Encryption
MHT / HTML Email
POP3
PFX
RSA
S/MIME
SMTP
Socket
Spider
SSH
SSH Tunnel
SSH Key
SFTP
Tar Archive
Upload
XML
XMP
Zip Compression
Misc

More Examples...
Amazon S3
Email Object
DKIM / DomainKey
NTLM
FileAccess
RSS
Atom
Self-Extractor
Service
PPMD
Deflate
DH Key Exchange
DSA
Bzip2
LZW

Byte Array
VB.NET FTPS
System.IO

 

 

 

 

 

 

Load EML File and Display Email Headers

Download: Chilkat .NET Assemblies

VB.NET Example to load a .eml file and display the email header fields.

        ' Load EML file and display email headers.
        Dim email As New Chilkat.Email
        email.UnlockComponent("anything for 30-day trial")

        email.LoadEml("test.eml")

        Dim i As Integer
        Dim n As Integer

        ' Email header fields can be retrieved by name:
        ListBox1.Items.Add("Subject: " + email.GetHeaderField("subject"))

        ' Some email header fields are associated with properties for convenience:
        ListBox1.Items.Add("Subject: " + email.Subject)

        ' If more than one header field having the same name exists, your
        ' program may access them by iterating over the headers in the email
        ' by index:
        n = email.NumHeaderFields
        For i = 0 To n - 1
            ListBox1.Items.Add(email.GetHeaderFieldName(i) + ": " + _
                email.GetHeaderFieldValue(i))
        Next




 

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

Mail Component · XML Parser