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.

Emails not being sent

August 17, 2010 12:16pm

Subscribe [6]
  • #1 / Aug 17, 2010 12:16pm

    Tony Geer

    253 posts

    Hi there. I’m having problems sending mail from both the Communication tab as well as system messages (eg. the forgot password link).

    When using the Forgot Password form I get the following message:

    The form you submitted contained the following errors
      * Unable to send email at this time.

    When using the Communicate tab I get:

    Unable to send email at this time.
    Debugging Message
    Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.

    When I run email_test.php it’s successful, I get the email and I get the following message:

    Email Test Script

    No PHP errors were encountered, which indicates that PHP correctly attempted to send your email message.

    If you do not receive the email it could be due to one of the following problems:

      * Your hosting provider might not permit email to be sent using PHP mail
      * The path to Sendmail is incorrect in your server’s PHP ini file
      * Your server does not have Sendmail configured correctly.
      * The recipient’s email server has spam blocking software which is incorrectly identifying messages send using PHP as spam

    It’s set to use PHP in the email configuration page, but I get errors using Sendmail too. I really have no idea why it’s not working. I contacted the hosting company and they said PHP is working on the server. They also set up a script that is using Sendmail to send email and that is working.

    Any help would be appreciated.

  • #2 / Aug 18, 2010 1:43am

    John Henry Donovan

    12339 posts

    TonyGeer,

    What version and build of EE are you using?
    Are you using any extensions?

    What kind of hosting environment do you have?

    have you set a Return email address in your Email Configuration ?

  • #3 / Aug 18, 2010 1:50am

    Tony Geer

    253 posts

    Right, I went ahead and didn’t provide any of the useful info you’d need, sorry about that.

    EE 1.6.9 Build 20100415

    I have a bunch of extensions: LG Polls, Low Seg2Cat, Edit Tab AJAX, Login Redirect, MD Add Sitename, LG .htaccess Generator, Loq NoSPam, FieldFrame, Calendar, Edit Menu.

    I’ve set a return email address in the Email config @domain.com that the site is hosted on. With regards to hosting, I don’t know much about the environment other than that it’s not Windows hosting.

  • #4 / Aug 18, 2010 9:50am

    Sue Crocker

    26054 posts

    What happens if you turn on Email Debugging?

    CP Home ›  Admin ›  System Preferences ›  Email Configuration

  • #5 / Aug 18, 2010 11:16am

    Tony Geer

    253 posts

    Hi Sue, I do have on email debugging, that’s why I got the Debugging message when I used the Communicate tab 😊 I’m not sure if I’m missing something else?

  • #6 / Aug 18, 2010 9:23pm

    Lisa Wess

    20502 posts

    Hi, Tony -

    Have you checked with your host, regarding some of the points that email_test.php listed?

  • #7 / Aug 18, 2010 9:39pm

    Tony Geer

    253 posts

    I’ll do that. It’s been very stressful dealing with these people as they’re local and I think they’re simply reselling hosting to the company without any sort of experience themselves. I had recommended that my client switch to EngineHosting but there were so many issues with their current host not being willing to do the transfer and everything else that was involved.

  • #8 / Aug 19, 2010 5:49pm

    Ingmar

    29245 posts

    I understand. Please let us know what you find out.

  • #9 / Sep 28, 2010 10:24am

    Renman

    7 posts

    Is it working now? I have the same problem. Jusing EE v2.1. but no communiction.

  • #10 / Sep 28, 2010 1:55pm

    Tony Geer

    253 posts

    I’m not sure if they figured things out, I’ll find out.

  • #11 / Sep 29, 2010 8:23am

    Sue Crocker

    26054 posts

    Let us know what you find out. We’ll be here.

  • #12 / Oct 12, 2010 1:15pm

    Tony Geer

    253 posts

    Hi Sue. After a few back and forths this issue is still unresolved. I sent you an email but I’m not sure if you got it. Would it be possible for anyone to log into the site and have a look around?

  • #13 / Oct 13, 2010 4:06am

    John Henry Donovan

    12339 posts

    Tony,

    What did you ask your host and what were their responses?

    I’ve set a return email address in the Email config @domain.com that the site is hosted on.

    Can you try setting it to an email address that isn’t the same as the actual site domain. Can you test with your own email?

  • #14 / Oct 13, 2010 9:11am

    Tony Geer

    253 posts

    I tried setting the Email Config as an @gmail.com email address and still got the error:

    Unable to send email at this time.
    Debugging Message
    Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.

    The last response I got from the people who’re selling hosting to my client, who got response from the actual hosting company, is:

    “We can confirm mail via php is working at the server, as you may know supporting 3rd party applications is out of the support scope, I suggest looking at the official documentation for your script and forums and see if something similar is covered.

    Also you can let us know the full requirement list for the script to run so we can check things server side”

    In this case I really have to agree that this is not a hosting issue. I have set up a form to test sendmail at :

    http://www.ttma.com/formtest.html

    this sends email via sendmail to you, another employee and myself. I have checked it and it works fine.

    You can access the code on the server the formtest.html calls “email.php”

    I hope this helps

    (It didn’t)

  • #15 / Oct 13, 2010 3:29pm

    Ingmar

    29245 posts

    Do you have access to email server logs? What kind of server environment are we dealing with here?

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

ExpressionEngine News!

#eecms, #events, #releases