Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python 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 Chilkat.Email() Dim success As Boolean success = email.LoadEml("dsnSample.eml") If (success = false) Then MsgBox(email.LastErrorText) Exit Sub End If Dim sa As Chilkat.StringArray 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 TextBox1.Text = TextBox1.Text & sa.GetString(i) & vbCrLf Next End If |
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2010 Chilkat Software, Inc. All Rights Reserved.