[Verification] Emails not sending out after registration

The topic name says it all. Verification emails are not being sent from my site. I am wondering what PHP extensions are needed to make email sending work?


Also, on a somewhat similar note, is it possible to auto-verify all users? So they can instantly log in after registerring without needing to manually verify their email addresses. My website requires a special password to register, so I am not very worried about spam.


Thanks all!

  • Do you have installed on a server or in your localhost? Also, have you checked the spam folder? Did you put an email in the setup page of Elgg?


    What version of elgg are you using?


    Rodolfo Hernandez

    Arvixe/Elgg Community Liaison

  • It's installed on a dedicated server.

    I have checked the spam folder.

    I did put an email at the setup page.

    elgg Version 1.7.7 (latest)



  • Do you have uservalidationbyemail plugin installed/enabled?

    Rodolfo Hernandez

    Arvixe/Elgg Community Liaison

  • This same problem i faced previously also. This is not elgg problme it is webhosting error. I think you need to talk your web host provider. Some web host providers giving only 50 mails/hour or 300 mails per day. 

    This is very negative effect for us. Even you also took dedicated server. I learnt one thing before know each every thing about server details don't buy server host. They cheat you later. he he he  h..

  • rjcalifornia, I do have it installed and enabled.

    makky, there is no limit or problem involving sending email persay on our server - I suspect that the PHP extension needed to sendmail is disabled. I am going to look in to this more...

    UPDATE: Ok, so I looked in to it a bit more. My whole server is not sending emails, even through the simple mail() PHP function. The function itself doesn't seem to be blatantly failing... I just recieve no email.

    Here are the mail php.ini configs:

    [mail function]
    ; For Win32 only.
    SMTP = localhost
    smtp_port = 25

    ; For Win32 only.
    ;sendmail_from = me@example.com

    ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    sendmail_path = /usr/sbin/sendmail -t -i

    ; Force the addition of the specified parameters to be passed as extra parameters
    ; to the sendmail binary. These parameters will always replace the value of
    ; the 5th parameter to mail(), even in safe mode.
    ;mail.force_extra_parameters =

    The sendmail file IS there. So I am not that sure as to what is going on. Any help/info/insight/tips/etc are very helpful. Thanks all!

  • If your whole server is not sending emails, you should talk with your provider to fix this situation. A while ago that happened to me because I put the wrong DNS for my domain.

    Rodolfo Hernandez

    Arvixe/Elgg Community Liaison

  • Im haveing problems with the system sending e-mails to the wrong e-mail address.where is the "mail php.ini configs"? I cant find it in any of the files.

  • Email not sending when register new user,But emails send with this server in another cms before.

  • http://docs.elgg.org/wiki/No_emails_%28including_validation_emails%29_are_being_sent


    If emails are not sent it's very likely a server issue because Elgg does fully rely on the server's capabilities on sending mails and normally you wouldn't have to set up anything in Elgg for emails to be sent. Actually there are no configuration options for mail sending in Elgg anyway.

    Test out, if sending of mails work on the server (as described on the second link). You might also want to check if it's only verification mails that seem to be missing. For example you can create two test accounts and send a private message from one account to the other (email notifications in the user's settings enabled). If this notification is sent then the missing validations emails are likely to get blocked by ISPs because they are assumed to be spam. In this case you need to figure out what the possible problem is (there could be various reasons). In this case you might ask your hoster for support.