By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,679 Members | 2,763 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,679 IT Pros & Developers. It's quick & easy.

system.web.mail Delivery Receipt?

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.