p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

  Return to Index  

proasp_codeclinic thread: using CDONTS

Message #1 by "Puskar adhikari" <puskar@h...> on Tue, 29 Feb 2000 16:35:52 EST
You probably forget the main method which is "mymail.send"....

-----Message d'origine-----
De : Puskar adhikari [mailto:puskar@h...]
Envoy=E9 : mardi 29 f=E9vrier 2000 22:36
=C0 : Code Clinic
Objet : [proasp_codeclinic] using CDONTS

Hi Everyone,
I have been trying to test the code below to send mail

'test mail program
Dim myMail
Set myMail =3D CreateObject("CDONTS.NewMail")
myMail.From =3D "sanjaychy@y..."
myMail.To =3D "puskar@h..."
myMail.Subject =3D "Sample Message"
myMail.Body =3D "This is a sample message."
Response.Write "mail Sent"
Set myMail =3D Nothing
seems like it works but i never get any e-mail at the address at
and this is available at

could anybody help me out why i am not getting any mails through


P.S: does naything need to be changed on the server to send mail
and we are running the SMTP server

Get Your Private, Free Email at http://www.hotmail.com


  Return to Index