Visual Basic Examples

ChilkatHOMEAndroid™ASPVisual BasicVB.NETC#iOS (IPhone)Objective-CC++CUnicode C++Unicode CMFCDelphi DLLDelphi ActiveXFoxProJavaPerlPHP 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

 

 

 

 

 

 

 

Get DSN Final-Recipients

If an email is a delivery-status-notification (DSN), then the GetDsnFinalRecipients method may be called to fetch the full list of Final-Recipients from the message/delivery-status part of the email.

Download Chilkat Email ActiveX

Download 32-bit Chilkat IMAP ActiveX (.msi)

Download All 32-bit Chilkat ActiveX Components (.zip)

Download All 64-bit Chilkat ActiveX Components (.zip)

Dim email As New ChilkatEmail2

Dim success As Long
success = email.LoadEml("dsnSample.eml")
If (success = 0) Then
    MsgBox email.LastErrorText
    Exit Sub
End If

Dim sa As CkStringArray

Set sa = email.GetDsnFinalRecipients()
If (sa Is Nothing ) Then
    MsgBox email.LastErrorText
Else

    Dim i As Long
    Dim n As Long
    n = sa.Count
    For i = 0 To n - 1
        Text1.Text = Text1.Text & sa.GetString(i) & vbCrLf
    Next

End If

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