Reply
CDONTS Error handling?
Old 05-28-2005, 08:34 AM CDONTS Error handling?
ExpressoDan's Avatar
Ultra Talker

Posts: 317
Name: This Space for Rent
Location: Georgia
SO I have searched the web far and wide. What Im looking for is a way to check to see if an email sent using CDONTS comes back with an "error" or message not deliverable. I have seen it done on an application at work, but the developer that created it no longer works there. ColdFusion also does this, how can it be done in classic asp with CDONTS?

I have heard of examples that the pages checks to see if an error was received and is usually returned as a 1 or 0.

Any help would be great

Thanks!
Dan
ExpressoDan is offline
Reply With Quote
View Public Profile Visit ExpressoDan's homepage!
 
When You Register, These Ads Go Away!
Old 06-02-2005, 01:48 PM
ExpressoDan's Avatar
Ultra Talker

Posts: 317
Name: This Space for Rent
Location: Georgia
Any one have a clue?
ExpressoDan is offline
Reply With Quote
View Public Profile Visit ExpressoDan's homepage!
 
Old 06-02-2005, 07:26 PM
Experienced Talker

Posts: 40
There are more people on these forums, and you may get a better answer there.

http://www.webmasterworld.com/ Try this first.

http://www.webproworld.com/forum.php Then this

http://www.forumforwebmasters.com/

Perhaps no answer had been better.

Kbleivik
http://multifinanceit.com/

kgun is offline
Reply With Quote
View Public Profile
 
Old 06-02-2005, 08:21 PM
chrishirst's Avatar
Super Moderator

Posts: 13,576
Location: Blackpool. UK
Not much at tek-tips either

you will probably be left with using standard error trapping
Code:
 
on error resume next
objMail.send 
if err.number <> 0 then
response.write "Error number " & err.number & " Error Desc " & err.description
err.clear
end if
on error goto 0
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to CDONTS Error handling?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12291 seconds with 12 queries