
CDONT objects to send mail
The first thing is to test that the SMTP server is configured and working.
To do this I use Outlook Express.
Create a mail account in OE specifying the SMTP server IP address as the
POP3 and SMTP server (it doesn't support POP3 but you have to enter
something in OE).
Next create a new mail message to the default domain name with anything to
if a file appears in the C:\Inetpub\mailroot\Drop directory.
Next try sending a message to a valid email address for another mail server.
This is the part that will probably fail unless your SMTP server is setup
with valid DNS and has internet access.
Once all of the above works, your script should work. Send us a sample if
not.
Regards,
Ian
WSH FAQ http://www.windows-script.com
Hi all,
I am tring to send mail using the CDONT object model, but I can't.
Is there any special configuration I need to do?
I have an SMTP server, and IIS5 on W2k.
Also can you send a demp script how to use the CDONT, maybe I am writing it
wrong...
Thanks,
Nir.