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
Get DSN Final-RecipientsIf 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.
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-2012 Chilkat Software, Inc. All Rights Reserved.