473,407 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 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 3300

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Tom | last post by:
I have tried three ways of opening word documents on my win95 machines. (Yes, my client still has some win95 machine) #1-With Response.AddHeader "Content-Disposition", "attachment;...
0
by: VRAyer | last post by:
Ive got this piece of asp.net code that works in some machines running win 2003 but not in certain others. Any idea what could be the problem string strPath = Server.MapPath("/mypdf/test.pdf");...
1
by: gluggi | last post by:
Hi, I have a small problem when I try to save a file. In an ASPX page in the Page_Load method I do something like that: (VB) Response.ClearHeaders() Response.AddHeader("Content-Disposition",...
2
by: brian | last post by:
I have a aspx page that creates a binary file and response.binarywrites it to the browser. To force the file to be saved or opened I use the "Content-Disposition" header. All works fine in...
11
by: Trapulo | last post by:
I've this statement in my output's creation: Response.Clear() Response.ContentType = "application/vnd.google-earth.kml+xml kml" Response.AddHeader("Content-Disposition", "inline;...
1
by: Cloud | last post by:
Hi all, I have a parent page(parent.aspx) which will open different new windows depending on the user input. for example, the new windows are opened using the following code :...
10
by: hobbson | last post by:
I have a basic crosstab queries that counts the models of each type of server device in a data center. What I'm trying to do is restrict the crosstab query from returning counts for devices that are...
12
by: Dave H. | last post by:
Please redirect me if this message is posted to the wrong group. Given the intention of delivering content to an HTTP user agent (such as Internet Explorer) which is to be immediately opened by...
2
by: MDANH2002 | last post by:
Hi From VB.NET I want to simulate the POST request of the following HTML form <html> <title>HTTP Post Testing</title> <body> <form action=http://www.example.com/postdata ...
4
by: foekall | last post by:
Dear all I would like to know how to write download mp3 file without open with media play. No in my project i when i click a link window media player will also appear. So, may i want to know how...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.