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.
LOCAL loEmail LOCAL lnSuccess LOCAL loSa LOCAL i LOCAL n loEmail = CreateObject('Chilkat.Email2') lnSuccess = loEmail.LoadEml("dsnSample.eml") IF (lnSuccess = 0) THEN =MESSAGEBOX(loEmail.LastErrorText) QUIT ENDIF loSa = loEmail.GetDsnFinalRecipients() IF (loSa = NULL ) THEN =MESSAGEBOX(loEmail.LastErrorText) ELSE n = loSa.Count FOR i = 0 TO n - 1 ? loSa.GetString(i) NEXT ENDIF |
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2007 Chilkat Software, Inc. All Rights Reserved.
Mail Component · .NET Email Component · ASP Mail Component · XML Parser