473,395 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,395 software developers and data experts.

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 3506
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: okaminer | last post by:
Hi Does any one know how to add "Read Receipt" to a mail using either C# or VB.NET
1
by: Wade Wegner | last post by:
Hello, Using the MailMessage class (or any other ASP.NET SMTP classes), I would like to programmatically request a read receipt. Is this possible? I have found an article that talked about a...
1
by: Wade Wegner | last post by:
Hello, Using the MailMessage class (or any other ASP.NET SMTP classes), I would like to programmatically request a read receipt. Is this possible? I have found an article that talked about a...
1
by: hasanainf | last post by:
Hi all and thanking you all in advance for your help My client wants to use a receipt printer. Since I have never used one before I have some questions. 1. Unlike other printers which are set...
9
by: Adi | last post by:
Hello eveyone, I wanna ask a very simple question here (as it was quite disturbing me for a long time.) My problem is to read a file line by line. I've tried following implementations but still...
0
by: Robert Dufour | last post by:
Is it possible by using Vb.Net in Vs2003 and System.web.mail to indicate that you require a read receipt of a mail message that was sent via code, and if so, how can you code to see that the read...
0
by: =?Utf-8?B?UGV0ZXI=?= | last post by:
I have an email account with btinternet.com that I can download my emails from within Outlook but (as I don't use their Broadband service) I am barred from sending to them. If I accidentally try to...
14
by: eyalco | last post by:
I'm building a receipt/invoice database - I've started with the invoice first, then the receipt. I have invoice = parents and sons + receipt = parents and sons tables + a customer table. I want to...
1
by: zxon | last post by:
I want to be able to track when recipients have opened an email that I have sent to them using JMail. I've searched the internet for a solution and so far cannot find one. I've found these two...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.