473,238 Members | 1,791 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,238 software developers and data experts.

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 5362
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
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
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
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
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
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
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
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
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
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...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.