473,805 Members | 2,172 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Ad d("Return-Receipt-To", "ma*****@whatev er.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.Ad d("Dispositio n-Notification-To",
"ma*****@whatev er.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 = sSupervisorUser ID & "@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.Ad d("Return-Receipt-To", "HR@whatever.co m")
'read notify
mail.Headers.Ad d("Dispositio n-Notification-To", "HR@whatever.co m")
SmtpMail.SmtpSe rver = "mail.whatever. com"
SmtpMail.Send(m ail)
</code snippet>
Nov 21 '05 #1
0 3326

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

Similar topics

2
2622
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; filename=yourfilenamehere.doc" #2-With Response.AddHeader "Content-Disposition", "inline; filename=yourfilenamehere.doc" #3 without the content-Disposition header. #1 is not good because it forces the user through two dialogs. #2,#3 seem good because they...
0
984
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"); FileInfo fileInfo = new FileInfo(strPath); Response.Clear(); Response.AddHeader("Content-Length", fileInfo.Length.ToString()); Response.ContentType = "application/pdf"; Response.AddHeader("Content-Disposition", "attachment; filename=" + strPath);
1
1804
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", "attachment; filename=foo.jpg") Response.Clear() Response.ContentType = "application/octlet-stream" Response.BinaryWrite( some data I got elsewhere )
2
1448
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 Firefox but I have some strange issues with IE where I get the error: "Internet Explorer was not able to open the Internet Site" from the "file download" dialog box, but before Im given the choice to
11
15117
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; filename=Log_" & activityLogID & ".kml") The strage is that on my development server all works (IE try to open the
1
1623
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 : window.open('child.aspx', document.userinput.value) In the child.aspx, the result is rendered as Excel, Word, PDF, etc...
10
6121
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 less than a specifc number....say 100 for exampe. So I want my query to display server models where there are 101 or more. Here is SQL statement. TRANSFORM Count(DEVICE_SPECS.DEVID) AS CountOfDEVID SELECT DEVICE_SPECS.MFR,...
12
11548
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 an associated application, there are the Content-Disposition type options of "inline" or "extension-token". Specifically as regards Internet Explorer, I've tried both inline and the specific filename extension (xls,csv,pdf,doc,...) and the...
2
6311
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 enctype="multipart/form-data" method="post" name="testform">
4
1112
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 to give down load mp3 file without play with any media software. Plz give me some code. Thz all.
0
9718
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10613
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10363
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7649
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6876
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4327
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3846
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.