472,958 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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


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


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"
</code snippet>
Nov 21 '05 #1
0 3282

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

Similar topics

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;...
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");...
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",...
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...
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;...
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 :...
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...
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...
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 ...
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...
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.