
Having problem with your WordPress site not sending emails? over 6k websites use Mail250 platform to fix their email delivery issues.
WordPress users face this chronic email delivery problem due to the fact that by default WordPress website uses wp_mail() which internally uses PHP’s mail() function, which uses server’s localhost configuration (on which website is hosted) to send emails. The default configuration won’t work as most of the shared hosting providers blocks outgoing SMTP ports 25 to protect their infrastructure from spam. This plugin fixes this problem by using Mail250 SMTP services instead of your hosting provider’s server settings.
Mail250 is an AI-Driven Bulk Email Marketing Service
The Mail250 plugin uses SMTP integration to send outgoing emails from your WordPress installation. It replaces the wp_mail function included with WordPress.
To have the mail250 plugin running after you have activated it, go to the plugin’s settings page and set the mail250 credentials.
How to use wp_mail() function:
We amended wp_mail() function so all email sends from WordPress should go through Mail250.
You can send emails using the following function: wp_mail($to, $subject, $message, $headers = '', $attachments = array())
Where:
The wp_mail function is sending text emails as default. If you want to send an email with HTML content you have to set the content type to ‘text/html’ running add_filter('wp_mail_content_type', 'set_html_content_type'); function before to wp_mail() one.
After wp_mail function you need to run the remove_filter('wp_mail_content_type', 'set_html_content_type'); to remove the ‘text/html’ filter to avoid conflicts –https://core.trac.wordpress.org/ticket/23578
Example about how to send an HTML email using different headers:
$subject = 'Test Email via WP Mail SMTP plugin'; $message = 'Body of the test email sent using WP Mail STMP WordPress plugin'; $to = '[email protected], Recipient Name <[email protected]>'; or $to = array('[email protected]', 'Recipient Name <[email protected]>'); $headers = array(); $headers[] = 'From: Sender <[email protected]>'; $headers[] = 'X-Your-Custom-Header: YourCustomeHeaderValue'; $attachments = array('/tmp/img1.jpg', '/tmp/img2.jpg'); add_filter('wp_mail_content_type', 'set_html_content_type'); $mail = wp_mail($to, $subject, $message, $headers, $attachments); remove_filter('wp_mail_content_type', 'set_html_content_type');
Your emails will be sent via Mail250 – a third party AI based email delivery platform. For details please refer to Mail250 Privacy and Terms
Starting from $0 per month.
Rating
Reviewers
2 reviews
Tags
Developed By
mail250
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Add an FAQ section to your site to answer common questions, reduce support requests, and give visitors a smoother and more confident user experience.
Create interactive video polls that use engaging clips to boost participation, gather insights, and help visitors vote in a more dynamic way.
Create interactive personality quizzes with custom results and flexible design to boost engagement and help visitors explore tailored outcomes easily.
Use a sticky video that stays visible while users scroll to keep content in view, increase watch time, and boost engagement.
Add interactive video overlays with links, product cards, and buttons that appear on top of your videos to boost engagement and guide user actions.
Add an interactive before and after slider to your site to show visual transformations, capture attention, and help visitors understand real results.
Show Threads posts in a live feed that keeps content fresh, builds social proof, and helps visitors engage on your site.
Show LinkedIn posts with a slider that auto updates, presents content in a smooth layout, and keeps visitors engaged.
Create interactive quizzes with a quiz maker that lets you build custom questions, collect responses, and increase engagement with easy site integration.

Show fresh content from any source with an RSS feed that keeps your site updated, improves navigation, and boosts user engagement.
Use a scroll progress bar that visually tracks reading on the page, improves navigation, and keeps visitors aware of their position.
Showcase videos with a video carousel that rotates or slides clips, improves visual design, and keeps visitors watching and engaged.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
