Hi,
I'm vbscript novice, I'm using vbscript to send mail via Outlook. Outlook security requests a user to Allow/Deny sending mail. This is fine with me. If a user allows to send mail, then vbscript code works fine, but if a user denies, then vbscript code crashes with error "Operation aborted/80004004/(null)". Is there any way, in which vbscript could determine if sending mail was denied so that the code wouldn't crash?
I'm vbscript novice, I'm using vbscript to send mail via Outlook. Outlook security requests a user to Allow/Deny sending mail. This is fine with me. If a user allows to send mail, then vbscript code works fine, but if a user denies, then vbscript code crashes with error "Operation aborted/80004004/(null)". Is there any way, in which vbscript could determine if sending mail was denied so that the code wouldn't crash?