473,503 Members | 2,173 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******@pierceassociates.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(AttachmentLocation)) > 1 Then

Attachment = New MailAttachment(Trim(AttachmentLocation))

..Attachments.Add(Attachment)

End If

End With

SmtpMail.SmtpServer = "myserver"

SmtpMail.Send(message)
Nov 18 '05 #1
5 5385
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******@pierceassociates.com> wrote in message
news:%2****************@TK2MSFTNGP15.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******@pierceassociates.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(AttachmentLocation)) > 1 Then

Attachment = New MailAttachment(Trim(AttachmentLocation))

.Attachments.Add(Attachment)

End If

End With

SmtpMail.SmtpServer = "myserver"

SmtpMail.Send(message)

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******@pierceassociates.com

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%2****************@TK2MSFTNGP10.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******@pierceassociates.com> wrote in message
news:%2****************@TK2MSFTNGP15.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******@pierceassociates.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(AttachmentLocation)) > 1 Then

Attachment = New MailAttachment(Trim(AttachmentLocation))

.Attachments.Add(Attachment)

End If

End With

SmtpMail.SmtpServer = "myserver"

SmtpMail.Send(message)


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******@pierceassociates.com> wrote in message
news:u3**************@TK2MSFTNGP14.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******@pierceassociates.com

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%2****************@TK2MSFTNGP10.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******@pierceassociates.com> wrote in message
news:%2****************@TK2MSFTNGP15.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******@pierceassociates.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(AttachmentLocation)) > 1 Then
>
> Attachment = New MailAttachment(Trim(AttachmentLocation))
>
> .Attachments.Add(Attachment)
>
> End If
>
> End With
>
> SmtpMail.SmtpServer = "myserver"
>
> SmtpMail.Send(message)
>
>



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******@pierceassociates.com

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%2****************@TK2MSFTNGP09.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******@pierceassociates.com> wrote in message
news:u3**************@TK2MSFTNGP14.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******@pierceassociates.com

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%2****************@TK2MSFTNGP10.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******@pierceassociates.com> wrote in message
news:%2****************@TK2MSFTNGP15.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******@pierceassociates.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(AttachmentLocation)) > 1 Then
>
> Attachment = New MailAttachment(Trim(AttachmentLocation))
>
> .Attachments.Add(Attachment)
>
> End If
>
> End With
>
> SmtpMail.SmtpServer = "myserver"
>
> SmtpMail.Send(message)
>
>



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******@pierceassociates.com> wrote in message
news:Om**************@TK2MSFTNGP11.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******@pierceassociates.com

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%2****************@TK2MSFTNGP09.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******@pierceassociates.com> wrote in message
news:u3**************@TK2MSFTNGP14.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******@pierceassociates.com
>
> "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
> news:%2****************@TK2MSFTNGP10.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******@pierceassociates.com> wrote in message
>> news:%2****************@TK2MSFTNGP15.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******@pierceassociates.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(AttachmentLocation)) > 1 Then
>> >
>> > Attachment = New MailAttachment(Trim(AttachmentLocation))
>> >
>> > .Attachments.Add(Attachment)
>> >
>> > End If
>> >
>> > End With
>> >
>> > SmtpMail.SmtpServer = "myserver"
>> >
>> > SmtpMail.Send(message)
>> >
>> >
>>
>>
>
>



Nov 18 '05 #6

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

Similar topics

6
4206
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...
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;...
0
1631
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...
0
1216
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>)...
2
5906
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...
0
1268
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! ...
0
1535
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. ...
2
2604
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...
1
2863
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...
0
7205
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,...
0
7093
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...
0
7287
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
7467
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5594
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,...
1
5022
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...
0
4688
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...
0
3177
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
746
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.