471,052 Members | 1,188 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,052 software developers and data experts.

Disposition-Notification-To

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
0 3227

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by VRAyer | last post: by
2 posts views Thread by brian | last post: by
11 posts views Thread by Trapulo | last post: by
1 post views Thread by Cloud | last post: by
4 posts views Thread by foekall | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.