Cannot trap 8004020f error in VBScript

backlash4

New Member
I cannot trap the 8004020f error generated by a script in Visual Basic (CDOSYS component).I used the "on error resume next", it traps all errors except for this one.This error is generated in this situation:- the mailserver I use for sending hosts mailboxes belonging to @mydomain.abc- I try to send mail to [email protected] is, if I try to send an email to a non-existant user of a domain hosted on the same mailserver used for sending, this action causes the error.This is (almost) impossible to catch!! What can I do? I have a lot of databases and my old non-existant address is found in hundredths of tables and databases!Thanks
 
Top