I have reformatted my ASP email form to fit to chilisoft system
(CDONTS), but it continues to give me the same error:
Error encountered: 501:SMTP server error
here is my current script:
<% Set mailmsg = Server.CreateObject("CDONTS.NewMail") mailmsg.To = "webmaster@staticfiends.com" mailmsg.From = request.form("Name") ' Specify sender's name mailmsg.Body = "Peaceful Productions Request" & Chr(13) & Chr(10) & Chr(13) & Chr(10) & _ "Email: " & request.form("Email") & Chr(13) & Chr(10) & _ "Comments: " & request.form("comments") & Chr(13) & Chr(10) mailmsg.Host = "neptune.lunarpages.com" ' Specify a valid SMTP server On Error Resume Next mailmsg.Send If Err <> 0 Then Response.Write "Error encountered: " & Err.Description else response.write "Thank you. We will contact you shortly,about your request." response.redirect("/peaceful-productions/index.htm") End If %> through suggestions from the chilisoft help forum, I have tried these alternatives: mailmsg.Host = "66.28.237.139" mailmsg.Host = "localhost" none of these work (all returning the same error)
Any suggestions or help??