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.

New member registration emails are not being sent

November 07, 2010 8:03am

Subscribe [4]
  • #1 / Nov 07, 2010 8:03am

    Matthew Pennell

    221 posts

    I’m having trouble getting the new member registration emails to be sent. I added a debug line into mod.member_register.php and it all seems to be firing properly - all the variables are there and the Send() method returns true.

    I suspect it might be something up with the live server configuration, which is PHP running on Windows - does anyone have any experience with PHP mail functions not working properly on that kind of environment? Or is there anything else I can try with EE?

  • #2 / Nov 07, 2010 8:13am

    Matthew Pennell

    221 posts

    I’ve also tried Sendmail (fails to call the Send() method) and I’ve asked the server admin for some SMTP details to see if that might be an option.

  • #3 / Nov 08, 2010 3:44am

    John Henry Donovan

    12339 posts

    Matthew,

    What version and build of EE are you using?
    Do you have any extensions installed?

    Are you able to successfully send email via Communicate?

    Try adding this to your /system/config.php

    $conf['email_crlf'] = "\r\n";
    $conf['email_newline'] = "\r\n";

    And see if that changes fixes your issue.

  • #4 / Nov 10, 2010 8:28am

    Matthew Pennell

    221 posts

    What version and build of EE are you using?
    Do you have any extensions installed?

    1.6.8 - I have several extensions installed, but none that interfere directly with the EEmail class.

    Are you able to successfully send email via Communicate?

    No, it doesn’t seem so.

    Try adding this to your /system/config.php

    $conf['email_crlf'] = "\r\n";
    $conf['email_newline'] = "\r\n";

    And see if that changes fixes your issue.

    Nope, no change - I still get no errors (“Thank you - your registration has been successfully completed”) but no emails are sent. It seems as if the call to EEmail::Send is succeeding, but its internal translation into PHP’s mail() function is not happening somehow.  😕

  • #5 / Nov 10, 2010 4:17pm

    Ingmar

    29245 posts

    Let’s try it via the Communicate tab first. When you turn on email debugging and try to send some mail, what do you get?

  • #6 / Nov 10, 2010 5:45pm

    Matthew Pennell

    221 posts

    Let’s try it via the Communicate tab first. When you turn on email debugging and try to send some mail, what do you get?

    Your email has been sent
    Debugging Message
    Your message has been successfully sent using mail

    So the Send() function (I assume that’s what Communicate is using) doesn’t throw any errors.

  • #7 / Nov 11, 2010 2:53pm

    Lisa Wess

    20502 posts

    Hi, Matthew -

    Does your webmaster email match the domain name you have hosted?

    Also, if you go to system/utilities/email_test.php and copy that to root, try that out and see if you receive when sending via that utility.  You’ll need to open it up and fill out any variables first.

    Thanks!

  • #8 / Nov 12, 2010 6:20am

    Matthew Pennell

    221 posts

    Hi, Matthew -

    Does your webmaster email match the domain name you have hosted?

    Also, if you go to system/utilities/email_test.php and copy that to root, try that out and see if you receive when sending via that utility.  You’ll need to open it up and fill out any variables first.

    Thanks!

    The webmaster email didn’t match the development URL, but changing it didn’t make any difference.

    The email_test.php script executes with no errors, but still no email is arriving. Looks like it’s definitely a server configuration issue. Stupid Windows. :(

  • #9 / Nov 12, 2010 10:51am

    Ingmar

    29245 posts

    Are there any mail server logs you could take a look at? Perhaps it’s being filtered on the receiving end?

  • #10 / Nov 12, 2010 2:59pm

    Matthew Pennell

    221 posts

    Are there any mail server logs you could take a look at? Perhaps it’s being filtered on the receiving end?

    Doubtful - I’ve tried sending it to myself at various different addresses, domains, personal and public addresses, everything. Think I’ll have to wait for the server admin to figure out what is not set up correctly.

  • #11 / Nov 13, 2010 4:10pm

    Greg Salt

    3988 posts

    Hi Matthew,

    Okay. We’ll keep this thread open until you’ve had a response from the admins. Let us know what they say.

    Cheers

    Greg

  • #12 / Nov 14, 2010 4:10pm

    Matthew Pennell

    221 posts

    Apparently it was an issue with the MailEnable mail server software. Whatever it was, they’ve fixed it now - all email is being sent perfectly (using PHP Mail). 😊

  • #13 / Nov 15, 2010 3:15am

    John Henry Donovan

    12339 posts

    Glad you are up and running again.Feel free to start a new thread if you have any more questions.

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

ExpressionEngine News!

#eecms, #events, #releases