Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Re: [asp_cdo]how to send mail?


Message #1 by tanmaya <tanmaya@m...> on Wed, 04 Oct 2000 17:00:35 +0530
Hi,

can anyone tell me how to use CDONTS in ASP/

I have tried it ,but failed.



Also where can I get description asbout MTS?

Thanking you,

tanmaya



Message #2 by "David Hemingway" <david.hemingway@t...> on Wed, 4 Oct 2000 12:36:40 +0100
this will send an email



set myMail = server.createobject("CDONTS.NewMail")

 myMail.From = "something@s..."

 myMail.To = "wherever@w..."

 myMail.subject = "subject"

 myMail.body = strComment & vbcrlf & vbcrlf & strEmail

 myMail.send



In the above the strComment and strEmail are collected from a form, you can

apply this to the from and to as well.



Hope this helps





----- Original Message -----

From: "tanmaya" <tanmaya@m...>

To: "ASP CDO" <asp_cdo@p...>

Sent: Wednesday, October 04, 2000 12:30 PM

Subject: [asp_cdo] Re: [asp_cdo]how to send mail?





> Hi,

> can anyone tell me how to use CDONTS in ASP/

> I have tried it ,but failed.

>

> Also where can I get description asbout MTS?

> Thanking you,

> tanmaya

>

>

Message #3 by Pritesh Mehta <Pritesh.Mehta@h...> on Wed, 4 Oct 2000 16:08:07 +0100
I was just looking at this and was wondering what you need to include in the

global.asa file (if anything).  If you could send a copy an global.asa file

set up to run CDONTS it would be greatly appreciated!



TIA



Pritesh



-----Original Message-----

From: David Hemingway [mailto:david.hemingway@t...]

Sent: 04 October 2000 12:37

To: ASP CDO

Subject: [asp_cdo] Re: [asp_cdo]how to send mail?





this will send an email



set myMail = server.createobject("CDONTS.NewMail")

 myMail.From = "something@s..."

 myMail.To = "wherever@w..."

 myMail.subject = "subject"

 myMail.body = strComment & vbcrlf & vbcrlf & strEmail

 myMail.send



In the above the strComment and strEmail are collected from a form, you can

apply this to the from and to as well.



Hope this helps





----- Original Message -----

From: "tanmaya" <tanmaya@m...>

To: "ASP CDO" <asp_cdo@p...>

Sent: Wednesday, October 04, 2000 12:30 PM

Subject: [asp_cdo] Re: [asp_cdo]how to send mail?





> Hi,

> can anyone tell me how to use CDONTS in ASP/

> I have tried it ,but failed.

>

> Also where can I get description asbout MTS?

> Thanking you,

> tanmaya

>

>




  Return to Index