Visual Basic Examples

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

VB Examples

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

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


VB Strings
VB Byte Array

 

 

 

 

 

 

 

Check Whether a Message is a DSN

Download Chilkat Email ActiveX

This example shows how to determine whether a mail message is a DSN.

Private Sub Command1_Click()

    ' Check to see whether an email message is a
    ' delivery status notification (DSN)
    Dim mailman As New ChilkatMailMan2
    mailman.UnlockComponent "Anything for 30-day trial"
    
    ' Load a .eml file into the email object.
    ' A zip containing 10 DSN sample emails can be found at:
    ' http://www.chilkatsoft.com/dsn_samples/DSN_Samples.zip
    Dim email As New ChilkatEmail2
    email.LoadEml "dsnSample1.eml"
    
    If (email.IsMultipartReport() = 1) Then
        MsgBox "Yes, this is a DSN!"
    Else
        MsgBox "Not a DSN."
    End If

End Sub

 

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