• I have installed wordpres, but didn’t receiving emails through wordpress, even I have not received the mail of installation confirmation.I tried to check mail through main() function through a test.php file and its working correctly. I had a look at logs and mail are present there that I had tried to send but they are not reaching the inbox.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    So it looks WP sent your emails, you just did not receive them. Check in Settings – General if you use the correct email address, try to change it.
    If it’s correct, try to contact your hosting provider about this issue.

    Thread Starter Suhail Akhtar

    (@sambhal)

    Hi thanks for your reply.
    I have tried using Webriti SMTP mail to send a test mail but it is giving 500 internal server error.
    The mail function of php is working fine, I have tried with a simple php test script to send a mail and it is being send to the email provided.So the problem is not with the hosting as I think.
    I have tried the code from http://www.butlerblog.com/2012/09/23/testing-the-wp_mail-function
    it is also giving 500 error.
    Now tell me how can I solve this issue?
    Thanks in advance.

    Your PHP mail function on the server can work well, but due to some setting in the server/hosting it can have some requirements how app/website can use it.
    Some host even disables SMTP at all, some allow send email only from Sender of a domain in that hosting and so on.
    Try to contact your provider 😉
    Try this SMTP plugin https://ww.wp.xz.cn/plugins/wp-mail-smtp/ it worked for me all the time.

    To test wp mail you can try also this https://ww.wp.xz.cn/plugins/check-email/

    Thread Starter Suhail Akhtar

    (@sambhal)

    Ok Thanks for reply again.
    I will try with the hosting provider.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WordPress not sending emails’ is closed to new replies.