Ok, I feel really, really dumb asking this. But for the life of me cannot get the contact form to send email.
I’ve stripped the template down to nothing but the example copied and pasted from the docs - changing only the address to send to via the recipients parameter.
{exp:email:contact_form user_recipients="true" recipients="[email protected]" charset="utf-8"}
<h2>Support Form</h2>
<p> <label for="from">Your Email:</label></p>
<p> <input type="text" id="from" name="from" size="40" maxlength="35" value="{member_email}" /></p></p>
<p> <label for="subject">Subject:</label></p>
<p> <input type="text" id="subject" name="subject" size="40" value="Contact Form" /></p></p>
<p> <label for="message">Message:</label></p>
<p> <textarea id="message" name="message" rows="18" cols="40">Support Email from: {member_name}<br />
Sent at: {current_time format="%Y %m %d"}</textarea></p></p>
<p> <input name="submit" type='submit' value='Submit Form' /></p></p>
<p>{/exp:email:contact_form}I’ve tried adding the hidden field with the recipient address instead - no change.
I’ve changed the address being sent to, no change.
I’ve ran the email_test utility - no errors reported.
Mail config is set to PHP. Also tested with SMTP. No change.
Emails from the exp-resso store module are received just fine (to the same address).
Is it possible I have a corrupt file somewhere that handles the contact form - and doesn’t throw errors anywhere else?
Any other ideas? This is usually brain dead easy, and I’m stumped.
Running 2.2.2 (latest build) on Apache 2, PHP 5.2.14, removing index.php from the URLs.