469,903 Members | 2,102 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,903 developers. It's quick & easy.

Read receipt with CDO 2000


My code works fine without the read receipt request.. with it the message
does not send, does not give and error..


<!--METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D"
NAME="CDO for Windows 2000 Library" -->

<%
Set cdoConfig = Server.CreateObject("CDO.Configuration")

With cdoConfig.Fields
.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Item(cdoSMTPServer) = "my.emailserver.com"
.Update
End With

Set cdoMessage = Server.CreateObject("CDO.Message")

With cdoMessage
Set .Configuration = cdoConfig
.From = "em***@testaddress.com"
.To = "em***@testaddress.com"
.Subject = "sdfsdf"
.htmlBody = "asdsada"
.fields("urn:schemas:mailheader:disposition-notification-to") =
"em***@testaddress.com"
.fields("urn:schemas:mailheader:return-receipt-to") =
"em***@testaddress.com"
.DSNOptions = cdoDSNSuccessFailOrDelay
.DSNOptions = 14
.fields.update
.Send
End With

Set cdoMessage = Nothing
Set cdoConfig = Nothing

%>


Any suggestions?




Jul 19 '05 #1
2 3342
Have you looked at any event logs on your server to see if there are SMTP
errors?

Ray at home

"Greg Sedeo" <gr**@nospam.com> wrote in message
news:OU**************@TK2MSFTNGP09.phx.gbl...

My code works fine without the read receipt request.. with it the message
does not send, does not give and error..

Jul 19 '05 #2

It's working now. Not sure what was wrong, but it's fine now.

Thanks
"Ray at <%=sLocation%>" <myfirstname at lane 34 . komm> wrote in message
news:eK**************@TK2MSFTNGP09.phx.gbl...
Have you looked at any event logs on your server to see if there are SMTP
errors?

Ray at home

"Greg Sedeo" <gr**@nospam.com> wrote in message
news:OU**************@TK2MSFTNGP09.phx.gbl...

My code works fine without the read receipt request.. with it the message does not send, does not give and error..


Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by okaminer | last post: by
1 post views Thread by Wade Wegner | last post: by
1 post views Thread by Wade Wegner | last post: by
1 post views Thread by hasanainf | last post: by
9 posts views Thread by Adi | last post: by
reply views Thread by Robert Dufour | last post: by
reply views Thread by =?Utf-8?B?UGV0ZXI=?= | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.