• Resolved umair0312

    (@umair0312)


    I’ve tried many things like adding contact details in functions.php, sending test email through a php file(successful) but any plugin including sucuri wasn’t able to send any email. I’ve tried SMTP method as well but it gives the error that wp_mail() function is being used by a process or plugin and SMTP won’t work until the conflict is resolved.Then, I tried deactivating all other plugins except SMTP but the error didn’t go. All I want now is to get this issue resolve ASAP. I am waiting for the solution. Thank you.

Viewing 1 replies (of 1 total)
  • You said that any plugin, including Sucuri’s, is not able to send emails, this probably means that the problem is not in the plugin’s code but in the way your server was configured. I suggest you contact your hosting provider and try to resolve the issue with them first.

    If you are able to use the PHP mail function [1] but the WordPress wp_mail function [2] keeps failing, then go to the settings page of the Sucuri plugin and uncheck the box that says “Use WordPress functions to send mails” this will force the plugin to send the alerts via the native PHP mail function. Notice that this will only fix the problems with the Sucuri plugin, you still need to talk with your hosting provider to resolve the problem with the rest of the plugins.

    [1] http://php.net/manual/en/function.mail.php
    [2] https://developer.wordpress.org/reference/functions/wp_mail/

Viewing 1 replies (of 1 total)
  • The topic ‘I’m not able to receive email alerts’ is closed to new replies.