471,571 Members | 1,233 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,571 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 5217
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by pee2pee | last post: by
reply views Thread by remove | last post: by
reply views Thread by Dan___ | last post: by
reply views Thread by L-E Eriksson | last post: by
reply views Thread by Neo Geshel | last post: by
1 post views Thread by the_ricka | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by Vinnie | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by lumer26 | last post: by

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.