Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CDo Question

Status
Not open for further replies.

Mighty

Programmer
Feb 22, 2001
1,682
US
Using CDO to send emails from an ASP page with objCDO as the mail object.

Does objCDO.Send have any return codes to indicate success/failure and can they be used in code to test whether a mail was sent or not.

Mighty
 
Tried the following to test it out:

Code:
rtnCode = objCDO.Send()
wscript.echo "Return Code: " & rtnCode

When I run the script that contains this code it doesn't show any value for the return code. What does that mean?

Mighty
 
I actually just tested it out in a VBScript script that I am currently writing just to see what the return code was.

Is it likely to give a different response in an ASP page?

Mighty
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top