shanuragu
04-05-2004, 09:06 AM
Hi all
Here is how I am sending an email
emailmessage is the messagestring.
Set objMail = CreateObject("CDONTS.Newmail")
objMail.From = rsUser("admin_email")
objMail.To = rsUser("email")
objMail.Subject = "On Line Shopping Order Details"
objMail.BodyFormat = 0
objMail.MailFormat = 0
objMail.Body = emailMessage
objMail.Send
Set objMail = Nothing
I have used the same format to send email message from an asp page from a different machine. But here on the machine where I am running this asp page I am unable to send email. Why?? Is there any SMTP configuration has to to be done / any extra settings ?? plz help
Shanuragu
Here is how I am sending an email
emailmessage is the messagestring.
Set objMail = CreateObject("CDONTS.Newmail")
objMail.From = rsUser("admin_email")
objMail.To = rsUser("email")
objMail.Subject = "On Line Shopping Order Details"
objMail.BodyFormat = 0
objMail.MailFormat = 0
objMail.Body = emailMessage
objMail.Send
Set objMail = Nothing
I have used the same format to send email message from an asp page from a different machine. But here on the machine where I am running this asp page I am unable to send email. Why?? Is there any SMTP configuration has to to be done / any extra settings ?? plz help
Shanuragu