Having problem with your WordPress site not sending emails over 6k websites use Mail250 platform to fix their delivery issues.. WordPress users face this chronic problem due to the fact that by default WordPress website uses wp mail. The configuration won't work as most of the shared hosting providers blocks outgoing SMTP ports 25 to protect their infrastructure from spam. The Mail250 plugin uses SMTP integration to send outgoing emails from your WordPress installation. To have the mail250 plugin running after you have activated it, go to the plugin's settings page and set the mail250 credentials.. We amended wp mail function so all email sends from WordPress should go through Mail250.. You can send emails using the function wp mail ). Where $to Array or comma-separated list of email addresses to send message. $subject Your email subject $message Your body $headers Array or separated list of additional headers. If you want to send email with HTML content you have to set the content type to 'text html running function before to wp mail one.. After wp mail function you need to run the remove filter to remove the filter to avoid conflicts https core trac wordpress org ticket 23578.
Read more