You could just use the smtpmail component, it will return an error if the server doesn't exist.
Otherwise, the only other way would be to use the MS winsock control server side to try and talk to the SMTP server first. Heres an article written in VB, if you know much VBA it shouldn't be hard to nobble to make it return a true/false for the server being available or not. I don't see what your problem could be, the internet can trap email anyway, so even if your server is up it isn't really guaranteed that the message will be arriving immediately... -----Original Message----- From: Nabil Al-Hage Ali [mailto:[EMAIL PROTECTED]] Sent: 10 September 2002 17:06 To: ActiveServerPages Subject: checking for smtp server hi, I am using the CDO.message object to send messages to users from an ASP page. The thing is that i want to check if the smtp is running or stopped on the server. Is there a possible way to do that --- You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --- You are currently subscribed to activeserverpages as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
