S
Stuart Palmer
I have had for sometime a problem getting cdo.message to work, so I have
given up on this and tried to test a form on my localhost machine using
CDONTS again (this used to work)
I have win 2000 Pro and when running this simple code:
------------
Set objSendmail = Server.CreateObject("CDONTS.NewMail")
objSendmail.From = "(e-mail address removed)"
objSendmail.To = "(e-mail address removed)"
objSendmail.Subject = "Subject Line"
objSendmail.Body = "Message"
objSendmail.Importance = 2
bolWasSent = objSendmail.Send
Set objSendmail = Nothing
response.write(bolWasSent)
-----------
bolWasSent returns false and I get no mail.....it used to pop up a sending
window for outlook express andseconds later my test mail arrived. Looking in
my mailroot dir no mails are created.
Has anyone ay idea what the problem could be and how I can get this working
as it used to, but I have no idea what I have done.
Many thx, I'm desperate......working out whats wrong with CDONTS being sent
may even help fix sending mail with CDO which I'll then go back to.
Stu
given up on this and tried to test a form on my localhost machine using
CDONTS again (this used to work)
I have win 2000 Pro and when running this simple code:
------------
Set objSendmail = Server.CreateObject("CDONTS.NewMail")
objSendmail.From = "(e-mail address removed)"
objSendmail.To = "(e-mail address removed)"
objSendmail.Subject = "Subject Line"
objSendmail.Body = "Message"
objSendmail.Importance = 2
bolWasSent = objSendmail.Send
Set objSendmail = Nothing
response.write(bolWasSent)
-----------
bolWasSent returns false and I get no mail.....it used to pop up a sending
window for outlook express andseconds later my test mail arrived. Looking in
my mailroot dir no mails are created.
Has anyone ay idea what the problem could be and how I can get this working
as it used to, but I have no idea what I have done.
Many thx, I'm desperate......working out whats wrong with CDONTS being sent
may even help fix sending mail with CDO which I'll then go back to.
Stu