Contact Form tag problems
-
outdoorxtreme1
Contact Form tag problems
Can anyone tell me why I am getting the "Sorry, the message was not sent. The server may be down!" message when trying to send a message using the contact_form tag? Thanks
Re: Contact Form tag problems
You get that message because the call to PHP's mail function in the plugin failed.
This can have more reasons, the smtp server may not be responding, or the server PHP runs on may not be configured correctly.
Try removing the @ in the code (line 91) , it supresses any error messages generated.
You'll probably get some error (on screen or in the php error log, depending on the server configuration), which may explain why things are not working.
If PHP's mail function is not working on your server, try FeedbackForm or FormBuilder (they use the CMSMailer module to send the mail, which has several options and ways to send the mail).
This can have more reasons, the smtp server may not be responding, or the server PHP runs on may not be configured correctly.
Try removing the @ in the code (line 91) , it supresses any error messages generated.
Code: Select all
elseif (@mail($to, $subject, $message, $extra)) {If PHP's mail function is not working on your server, try FeedbackForm or FormBuilder (they use the CMSMailer module to send the mail, which has several options and ways to send the mail).
Last edited by Anonymous on Wed Dec 13, 2006 6:58 pm, edited 1 time in total.

