By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,556 Members | 1,479 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,556 IT Pros & Developers. It's quick & easy.

Disposition-Notification-To

P: n/a
I'm trying to send mail (via our Exchange v5.5 server) from a VB.Net
webapp and get Delivery Notification and Read Receipt. If I use

mail.Headers.Add("Return-Receipt-To", "ma*****@whatever.com")

I can get a delivery notification to work - but so what? That only
(apparently) means that the mail server accepted it and tossed it into
the user's mailbox. I want to use

mail.Headers.Add("Disposition-Notification-To",
"ma*****@whatever.com")

to notify me that someone has actually read the message, but it isn't
working. I can generate an email from Outlook and get the receipt,
but from my program, it doesn't work :(

Anybody got a clue for me?

<code snippet>
mail.From = sUserUserID & "@whatever.com"
mail.To = sSupervisorUserID & "@whatever.com"
'mail.Cc = sManagerUserID & "@whatever.com"
mail.Subject = "Annual Evaluation For " & sEEFullName & " in " & sUnit
mail.BodyFormat = MailFormat.Html
mail.Body = sMailBody
' delivery notify
mail.Headers.Add("Return-Receipt-To", "HR@whatever.com")
'read notify
mail.Headers.Add("Disposition-Notification-To", "HR@whatever.com")
SmtpMail.SmtpServer = "mail.whatever.com"
SmtpMail.Send(mail)
</code snippet>
Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.