Login  
Search All Forums
Dart Home | PowerTCP Mail for .NET | Custom Development Reply | PowerTCP Mail for .NET Topics | Forums   
AuthorForum: PowerTCP Mail for .NET
Topic: How to Get a Read Receipt
gauravjpr
gsaxena@smxglobal.com

From: Delhi, India
Posts: 7
Member Since: 11/15/07
posted October 24, 2008 2:17 AM

I am Using TCP dart for sending and recieving mails,Please suggest me any idea how to get a Read Receipt Mail Notification,hwo i can do it,

Thanks in advance
Jason Farrar (Admin)

From: Oneida, NY USA
Posts: 223
Member Since: 07/24/07

Extra Support Options
Custom Application Development

posted November 4, 2008 1:57 PM

Hi,

You just need to set the DSN object's property on the SMTP control. ex:

// Be sure to import the namespace by putting "using Dart.PowerTCP.Mail;"
// at the top of your class.

// Specify a DSN ID to use.
smtp1.DSN.EnvelopeID = "ID1234567";

// Specify to return the entire message instead of the headers.
smtp1.DSN.ReturnMessage = true;

// Send a DSN on failure or delay.
smtp1.DSN.Type = DSNType.Delay | DSNType.Failure;

// Send a message
smtp1.Server = "mail.test.com";
smtp1.Send("you@test.com", "me@test.com", "Test", "test message");

The above will give you a receipt for a failure or delay of the message. There are more options available and you should review the documentation for the DeliveryStatusNotification Class in the included help.
Reply | PowerTCP Mail for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX