R
Robert Suffecool
Hi everyone...
I'm having a problem sending an email message using the CDONTS object
because of a "permission denied" error. Assume the following variables are
in the ASP file....
txtSubject = "This is a test"
txtToEmail = "(e-mail address removed)"
txtFromEmail = "(e-mail address removed)"
txtMessage = "Some message"
Here is my ASP code...
'Create mail object and send the email message...
set objMail = server.CreateObject("CDONTS.NewMail")
objMail.To = txtToEmail
objMail.From = txtFromEmail
objMail.Subject = txtSubject
objMail.Body = txtMessage
objMail.Send
How do I fix this problem?
Sincerely,
Robert
I'm having a problem sending an email message using the CDONTS object
because of a "permission denied" error. Assume the following variables are
in the ASP file....
txtSubject = "This is a test"
txtToEmail = "(e-mail address removed)"
txtFromEmail = "(e-mail address removed)"
txtMessage = "Some message"
Here is my ASP code...
'Create mail object and send the email message...
set objMail = server.CreateObject("CDONTS.NewMail")
objMail.To = txtToEmail
objMail.From = txtFromEmail
objMail.Subject = txtSubject
objMail.Body = txtMessage
objMail.Send
How do I fix this problem?
Sincerely,
Robert