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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cdonts failed message

Status
Not open for further replies.

stvchez123

Programmer
Apr 18, 2002
59
0
0
US
I have CDONTS messaging working, what I need is to be able to have, if there is a failed message, to have it send to the webmasters address.

Here is what I have:

Else
Response.Write("<br><br>Message was not sent. Please try again later.")
End If

I need to add an extra parameter, such as:

MyCDO.To = "webmaster@site.com"

 
Not sure if this is really a "solution" as opposed to an alternative suggestion.

If CDONTS fails for the user...more than likely (but not necessarily) CDONTS will fail while trying to notify your webmaster. Maybe if you detect a failure, you could do an insert or an update to some logging table with the information you care about.

This might not be what you want but I thought it might be worth the $0.02.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top