ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

EE 1.7.0 email module won't send emails

February 01, 2011 7:07pm

Subscribe [4]
  • #1 / Feb 01, 2011 7:07pm

    Happy Content

    56 posts

    EE 1.7.0 won’t send emails via the form module. I’ve tried sending email via the email_test.php file and that works fine.

    It is a simple form. I have also copied the demo code from the EE docs and that does not work either. When you hit submit it returns you to the homepage instead of the thank you page and the email is never sent.

    The form worked previously.

    Tried different browsers, checked SPAM filters.

    EE email configuration is left as default.

    Am using
    EE: 1.7.0
    Build:  20101018

    Extensions - I have marked the ones that are disabled
    Edit Tab AJAX (v.1.2.1)  Disabled
    Publish Tweeks (v.0.5)  Disabled
    Multi Relationship (v.1.0.6)  Disabled
    LG Better Meta (v.1.9.1)  Disabled
    Category Checkboxes (v.1.1.2)
    Checkbox replacement for the categories multi-select box
    LG Add Sitename (v.1.2.0)  Disabled
    LG Live Look (v.1.0.4)  Disabled
    Hidden Weblogs (v.1.0.3)  Disabled
    MD Simple Relation (v.1.1.3)  Disabled
    Gypsy (v.1.0.6) Settings
    LG TinyMCE (v.1.3.3)
    jQuery for the Control Panel (v.1.1.1)
    FieldFrame (v.1.2.0)

  • #2 / Feb 02, 2011 3:11pm

    Ingmar

    29245 posts

    What “form” module are you talking about, exactly? Have you tried sending mail via the “Communicate” tab?

  • #3 / Feb 02, 2011 6:05pm

    Happy Content

    56 posts

    Sorry I mean the user email module.

    Sending via the communicate module works.

    Sending via the user email module with the form below does not. Nothing else is in the template besides this form.

    {exp:email:contact_form user_recipients="false" recipients="[email protected]" charset="utf-8" return="http://www.google.com"}
    
    <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}

  • #4 / Feb 03, 2011 8:46am

    John Henry Donovan

    12339 posts

    benbailey,

    have you got a link to where we can see it in action?
    Are you using a htaccess?
    If you add an email address not associated with your email as a recipient does it work?

  • #5 / Feb 03, 2011 5:10pm

    Happy Content

    56 posts

    Hi John,

    http://foreverstrong.com.au/index.php/test-contact-form/ - on submit you should got too google.com

    http://foreverstrong.com.au/index.php/contact2/ - on submit you should go to a thank you page

    Neither of the above pages generate an email.

    Using an htaccess but only to remove the www from the beginning of the URL. I assume that would not matter?

    Tried different email addresses without luck

  • #6 / Feb 04, 2011 10:21am

    Sue Crocker

    26054 posts

    I’ve seen weird things happen when you try to remove the www from the beginning of the URL. Can you try without any sort of .htaccess?

  • #7 / Feb 04, 2011 5:50pm

    Happy Content

    56 posts

    That was it Sue. Thanks very much for your help.

    htaccess was removing the www while one of my config settings still had the www. Everything else worked bar the emails.

    Lesson learned for next time I am debugging. Thanks again.

  • #8 / Feb 04, 2011 5:53pm

    Ingmar

    29245 posts

    Very glad to see you up and running. Please post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases