CDONT objects to send mail 
Author Message
 CDONT objects to send mail

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.



Tue, 22 Jul 2003 15:52:23 GMT  
 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.



Wed, 23 Jul 2003 04:06:55 GMT  
 CDONT objects to send mail
Thanks for the input, but my question was on the script itself, how do I use the
object, what is the syntax, what do I need to put inside my script in order it to
work ? (I read somewhere that I need to insert some library definition into my
code).

Thanks.

The best way is if you can post a demo script that uses CDONT mail object.

Nir.

Quote:
-----Original Message-----
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.

.



Wed, 23 Jul 2003 21:43:03 GMT  
 CDONT objects to send mail
ASP 101 - Samples
http://www.asp101.com/samples/viewasp.asp?file=email%2Easp

--
Michael Harris
Microsoft.MVP.Scripting
--

Please do not email questions - post them to the newsgroup instead.
--

Thanks for the input, but my question was on the script itself, how do I use the
object, what is the syntax, what do I need to put inside my script in order it to
work ? (I read somewhere that I need to insert some library definition into my
code).

Thanks.

The best way is if you can post a demo script that uses CDONT mail object.

Nir.

Quote:
-----Original Message-----
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.

.



Thu, 24 Jul 2003 03:28:54 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. cdont mail sending from asp

2. VBScript mail with CDONT

3. Create Outlook Object Error: preven sending mail

4. Help with Send mail object

5. sending e-mail by means of ASP's NewMail Object

6. CDONT newMail object - attaching files

7. Send e-mail using default e-mail client

8. Send e-mail using default e-mail client

9. Outlook send mail script

10. Urgent: How do I send Secure Mail?

11. Sending current HTML/ASP page as mail

12. with vbs, how to 1-open notepad 2-a mail being really sent

 

 
Powered by phpBB® Forum Software