473,797 Members | 3,196 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

system.web.mail Delivery Receipt?

I'm using the system.web.mail in vb.net to send emails out in a vb.net
application. The sending of emails works great. Is there a way to have it
send me back a delivery receipt or a read receipt? (I think i prefer
delivery receipt)

Any help would be greatly appreciated!
Chris Thunell
ct******@pierce associates.com

mycode currently is the following:
Imports system.web.mail

Dim message As New MailMessage

Dim Attachment As System.Web.Mail .MailAttachment
With message

..BodyFormat = MailFormat.Html

..To = RecipientList

..Cc = MessageFrom

..Subject = MessageSubject

..From = MessageFrom

..Body = MessageBody

If Len(Trim(Attach mentLocation)) > 1 Then

Attachment = New MailAttachment( Trim(Attachment Location))

..Attachments.A dd(Attachment)

End If

End With

SmtpMail.SmtpSe rver = "myserver"

SmtpMail.Send(m essage)
Nov 18 '05 #1
5 5421
personally I wouldn't bother. The user can block these so you will never
know for sure they didn't read/open it.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Chris Thunell" <ct******@pierc eassociates.com > wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
I'm using the system.web.mail in vb.net to send emails out in a vb.net
application. The sending of emails works great. Is there a way to have
it
send me back a delivery receipt or a read receipt? (I think i prefer
delivery receipt)

Any help would be greatly appreciated!
Chris Thunell
ct******@pierce associates.com

mycode currently is the following:
Imports system.web.mail

Dim message As New MailMessage

Dim Attachment As System.Web.Mail .MailAttachment
With message

.BodyFormat = MailFormat.Html

.To = RecipientList

.Cc = MessageFrom

.Subject = MessageSubject

.From = MessageFrom

.Body = MessageBody

If Len(Trim(Attach mentLocation)) > 1 Then

Attachment = New MailAttachment( Trim(Attachment Location))

.Attachments.Ad d(Attachment)

End If

End With

SmtpMail.SmtpSe rver = "myserver"

SmtpMail.Send(m essage)

Nov 18 '05 #2
I seem to get a better response with Delivery receipts since it is the
receipients server that sends that. Be that what it may... is it possible
to get a delivery receipt from the code listed below?

Chris Thunell
ct******@pierce associates.com

"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
personally I wouldn't bother. The user can block these so you will never
know for sure they didn't read/open it.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Chris Thunell" <ct******@pierc eassociates.com > wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
I'm using the system.web.mail in vb.net to send emails out in a vb.net
application. The sending of emails works great. Is there a way to have
it
send me back a delivery receipt or a read receipt? (I think i prefer
delivery receipt)

Any help would be greatly appreciated!
Chris Thunell
ct******@pierce associates.com

mycode currently is the following:
Imports system.web.mail

Dim message As New MailMessage

Dim Attachment As System.Web.Mail .MailAttachment
With message

.BodyFormat = MailFormat.Html

.To = RecipientList

.Cc = MessageFrom

.Subject = MessageSubject

.From = MessageFrom

.Body = MessageBody

If Len(Trim(Attach mentLocation)) > 1 Then

Attachment = New MailAttachment( Trim(Attachment Location))

.Attachments.Ad d(Attachment)

End If

End With

SmtpMail.SmtpSe rver = "myserver"

SmtpMail.Send(m essage)


Nov 18 '05 #3
Oh, sorry... :}
http://support.microsoft.com/default...b;en-us;302839
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Chris Thunell" <ct******@pierc eassociates.com > wrote in message
news:u3******** ******@TK2MSFTN GP14.phx.gbl...
I seem to get a better response with Delivery receipts since it is the
receipients server that sends that. Be that what it may... is it possible
to get a delivery receipt from the code listed below?

Chris Thunell
ct******@pierce associates.com

"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
personally I wouldn't bother. The user can block these so you will never
know for sure they didn't read/open it.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Chris Thunell" <ct******@pierc eassociates.com > wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
> I'm using the system.web.mail in vb.net to send emails out in a vb.net
> application. The sending of emails works great. Is there a way to
> have
> it
> send me back a delivery receipt or a read receipt? (I think i prefer
> delivery receipt)
>
> Any help would be greatly appreciated!
> Chris Thunell
> ct******@pierce associates.com
>
> mycode currently is the following:
> Imports system.web.mail
>
> Dim message As New MailMessage
>
> Dim Attachment As System.Web.Mail .MailAttachment
>
>
> With message
>
> .BodyFormat = MailFormat.Html
>
> .To = RecipientList
>
> .Cc = MessageFrom
>
> .Subject = MessageSubject
>
> .From = MessageFrom
>
> .Body = MessageBody
>
> If Len(Trim(Attach mentLocation)) > 1 Then
>
> Attachment = New MailAttachment( Trim(Attachment Location))
>
> .Attachments.Ad d(Attachment)
>
> End If
>
> End With
>
> SmtpMail.SmtpSe rver = "myserver"
>
> SmtpMail.Send(m essage)
>
>



Nov 18 '05 #4
Ok thanks for that url! If you look at the code below though, i'm using
..net system.web.mail ..... dim message as new mailmessage... etc etc. Your
suggestion is using CDO. Does the .net framework web.mail provide for
delivery receipts?

Thanks again for your help!
Chris Thunell
ct******@pierce associates.com

"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Oh, sorry... :}
http://support.microsoft.com/default...b;en-us;302839
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Chris Thunell" <ct******@pierc eassociates.com > wrote in message
news:u3******** ******@TK2MSFTN GP14.phx.gbl...
I seem to get a better response with Delivery receipts since it is the
receipients server that sends that. Be that what it may... is it possible to get a delivery receipt from the code listed below?

Chris Thunell
ct******@pierce associates.com

"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
personally I wouldn't bother. The user can block these so you will never know for sure they didn't read/open it.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Chris Thunell" <ct******@pierc eassociates.com > wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
> I'm using the system.web.mail in vb.net to send emails out in a vb.net > application. The sending of emails works great. Is there a way to
> have
> it
> send me back a delivery receipt or a read receipt? (I think i prefer
> delivery receipt)
>
> Any help would be greatly appreciated!
> Chris Thunell
> ct******@pierce associates.com
>
> mycode currently is the following:
> Imports system.web.mail
>
> Dim message As New MailMessage
>
> Dim Attachment As System.Web.Mail .MailAttachment
>
>
> With message
>
> .BodyFormat = MailFormat.Html
>
> .To = RecipientList
>
> .Cc = MessageFrom
>
> .Subject = MessageSubject
>
> .From = MessageFrom
>
> .Body = MessageBody
>
> If Len(Trim(Attach mentLocation)) > 1 Then
>
> Attachment = New MailAttachment( Trim(Attachment Location))
>
> .Attachments.Ad d(Attachment)
>
> End If
>
> End With
>
> SmtpMail.SmtpSe rver = "myserver"
>
> SmtpMail.Send(m essage)
>
>



Nov 18 '05 #5
Here, should be, the Red Receipt. Not sure on the Delivery Notification but
it should be along the same lines I would think.

..Notification = True 'Send a read receipt to the sender

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Chris Thunell" <ct******@pierc eassociates.com > wrote in message
news:Om******** ******@TK2MSFTN GP11.phx.gbl...
Ok thanks for that url! If you look at the code below though, i'm using
.net system.web.mail ..... dim message as new mailmessage... etc etc. Your
suggestion is using CDO. Does the .net framework web.mail provide for
delivery receipts?

Thanks again for your help!
Chris Thunell
ct******@pierce associates.com

"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Oh, sorry... :}
http://support.microsoft.com/default...b;en-us;302839
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Chris Thunell" <ct******@pierc eassociates.com > wrote in message
news:u3******** ******@TK2MSFTN GP14.phx.gbl...
>I seem to get a better response with Delivery receipts since it is the
> receipients server that sends that. Be that what it may... is it possible > to get a delivery receipt from the code listed below?
>
> Chris Thunell
> ct******@pierce associates.com
>
> "Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
> news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
>> personally I wouldn't bother. The user can block these so you will never >> know for sure they didn't read/open it.
>>
>> --
>> Curt Christianson
>> Owner/Lead Developer, DF-Software
>> Site: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "Chris Thunell" <ct******@pierc eassociates.com > wrote in message
>> news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
>> > I'm using the system.web.mail in vb.net to send emails out in a vb.net >> > application. The sending of emails works great. Is there a way to
>> > have
>> > it
>> > send me back a delivery receipt or a read receipt? (I think i prefer
>> > delivery receipt)
>> >
>> > Any help would be greatly appreciated!
>> > Chris Thunell
>> > ct******@pierce associates.com
>> >
>> > mycode currently is the following:
>> > Imports system.web.mail
>> >
>> > Dim message As New MailMessage
>> >
>> > Dim Attachment As System.Web.Mail .MailAttachment
>> >
>> >
>> > With message
>> >
>> > .BodyFormat = MailFormat.Html
>> >
>> > .To = RecipientList
>> >
>> > .Cc = MessageFrom
>> >
>> > .Subject = MessageSubject
>> >
>> > .From = MessageFrom
>> >
>> > .Body = MessageBody
>> >
>> > If Len(Trim(Attach mentLocation)) > 1 Then
>> >
>> > Attachment = New MailAttachment( Trim(Attachment Location))
>> >
>> > .Attachments.Ad d(Attachment)
>> >
>> > End If
>> >
>> > End With
>> >
>> > SmtpMail.SmtpSe rver = "myserver"
>> >
>> > SmtpMail.Send(m essage)
>> >
>> >
>>
>>
>
>



Nov 18 '05 #6

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

Similar topics

6
4228
by: pee2pee | last post by:
Hi, I have below code: <html> <head> <title>Contacting Worldpay, Please wait.......</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body text="#CCCCCC">
0
391
by: remove | last post by:
The original message was included as attachment test; hi; hello; Mail Delivery System; Mail Transaction Failed; Server Report; Status; Error; Test; Hi; Hello; Encrypted Mail; Virus sample; abuse?; feel free to use it; Excel file; Details; fake; read it immediately; something for you; information; order; encrypted document; file is bad; your document; your archive; re: unknow; re: questions; report; is that your account?; re: protected...
0
1678
by: Dica | last post by:
i think i've gotten the wrong idea about the differences between a read receipt and delivery status notificaiton. i was assuming that delivery status notificaiton is a response line from the remote smtp server that would be added to the originatoring smtp server's log file. but that's not it, is it? delivery status notification means an email is generated and sent to the recipient's email box, correct?
0
1230
by: Dan___ | last post by:
How to send a mailmessage with a return receipt? I use the property Headers of the class MailMessage dim myMail as new MailMessage myMail.Headers.Add("Return-Receipt-To", <address@mail.com>) myMail.Headers.Add("Disposition-Notification-To", <address@mail.com>) The header "Disposition-Notification-To" run, not "Return-Receipt-To".
2
5927
by: Rajani | last post by:
Hi friends, I am sending mail from ASP program. My server is win 2k, IIS 5. SMTP server is configured. I am generating a report(purchase order) and the same sending as an email to the supplier. upto last week it was sending well. Now its returning bounce mail. in the c:\inetpub\mailroot\badmail contains the file(.bdr). The contents of
0
1282
by: L-E Eriksson | last post by:
Hello! I have a .NET service that sends out about 400 e-mails every month. The e-mail is plain text, with a hyperlink. Some e-mails appear to be bouncing, though they actually are delivered! I am using VS.NET 2003 and system.web.mail to send the e-mails. This is in short the message I get back: This is an automatically generated Delivery Status Notification.
0
1554
by: Neo Geshel | last post by:
I am experiencing an inconsistency with System.Net.Mail. I have a web form on a site. The form gets filled, and one copy gets sent to the recipient (info@domain.com). This works just fine. However, I want a summarized e-mail (with slightly different content) to get sent to the sender, and this fails unless the “sender”has their domain name on the same server. Essentially, it has the following problem:
2
2620
by: Hughesie11 | last post by:
Im trying to post from a form to send an email, im using CDONTS ( I have to as it will be running on NT4), the object appears to get created fine, however the email is not sending, its generates 3 files in the C:\Inetpub\mailroot\Badmail directory they are .BDR, .BDP & .BAD files, here is the text of the .bad: From: postmaster@SERVERMNAME To: myemail@domain.com Date: Fri, 14 Dec 2007 13:55:07 +0000 MIME-Version: 1.0 Content-Type:...
1
2881
by: the_ricka | last post by:
Hi all, I'm fairly new to python, but very excited about it's potential. I'm trying to write a simple program that will accept input from a command line and send email. The parameters I used on the command line are for From address, To addresses, Subject and Body. For the body, I thought it would be better to read the input from a file so I could allow someone to nicely format the body with newlines in a text editor and just read it...
0
9685
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, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
10469
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
10246
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
10209
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7560
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
6803
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();...
1
4135
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
3750
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2934
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.