![]() |
| ASP FORMMAIL |
|
snordman
|
My url is www.HumanElementCenter.com
I have a form on my "join us.html" page I have the following code in my aspformmail.asp page <% Set Mailer = Server.CreateObject("SMTPsvg.Mailer") Mailer.FromName = "humanelementcenter.com" Mailer.FromAddress= "info@humanelementcenter.com" Mailer.RemoteHost = "mail.humanelementcenter.com" Mailer.AddRecipient "Name","susane@humanelementcenter.com" Mailer.AddExtraHeader "X-MimeOLE:Produced humanelementcenter.com" Mailer.Subject = "Form Submission" strMsgHeader = "Form Information Follows: " & vbCrLf for i = 1 to Request.Form.Count strMsgInfo = strMsgInfo & Request.Form.Key(i) & " - " & Request.Form.Item(i) & vbCrLf next strMsgFooter = vbCrLf & "End of form information" Mailer.BodyText = strMsgHeader & strMsgInfo & strMsgFooter if Mailer.SendMail then Response.Write "Form information submitted..." else Response.Write "Mail send failure. Error was " & Mailer.Response end if set Mai[/color]ler = Nothing %> and I get the following error "Mail send failure. Error was 503 Bad sequence of commands" is there something wrong with my code? |
||||||||||||
|
|
|||||||||||||
|
cburns
|
Looks like you just had a simple typo in your form...the email address susane@humanelementcenter.com doesn't exist. I updated that to susan@ for you and the form works like a charm now.
|
||||||||||||
|
|
|||||||||||||
|
malik
|
Does anyone have any recommendations for free scripts/solutions for preventing formmail spam.
|
||||||||||||
|
|
|||||||||||||
|
nathacof
Forum Admin
|
|||||||||||||
|
|
|||||||||||||
| ASP FORMMAIL |
|
||
|


