Published on
Dec 17, 2024
Updated on
08 Jan 2025
Share

Manage Your WordPress Emails with WPMasterToolKit's SMTP Mailer Module

Transactional emails and notifications are essential for any WordPress installation, but emails sent directly via your site's server can sometimes end up in the spam folder or not be delivered at all. To solve this problem and offer greater delivery reliability, the SMTP Mailer from WPMasterToolKit lets you customize the sender and use an external SMTP service to guarantee delivery.

Which plugins can the SMTP Mailer module replace?

The SMTP Mailer module can replace plugins such as WP Mail SMTP, Post SMTPor Easy WP SMTP. By integrating this functionality directly into WPMasterToolKit, you reduce the need to install an additional plugin, while still having a lightweight, high-performance solution.

Découvrir le module : Ban e-mails

Key features of the SMTP Mailer module

  1. Sender personalization : Set a custom name and email address for emails sent from your WordPress site.
  2. Forcing sender information : If enabled, this option ensures that all emails use the configured name and address, even if other plugins try to override them.
  3. SMTP configuration : Connect your WordPress site to an external SMTP server for better deliverability.
    • Protocol support SSL and TLS
    • Configuration of ports, hosts, user name and password
  4. Advanced debugging : Activate debug mode to analyze logs and resolve any email delivery problems.
  5. Email test : Quickly test the configuration by sending a verification email directly from the dashboard.

Why use the SMTP Mailer module?

By default, WordPress uses the PHP function mail() to send emails, which can lead to reliability problems. By configuring an external SMTP service, you benefit from improved deliverability and total control over your e-mails, while reducing the risk of your messages being flagged as spam.

Advantages :

  • Improved deliverability : By using services like Gmail, Outlook, SendGrid or others, you increase the likelihood of your emails reaching the inbox.
  • Spam reduction : Using an email address validated by a reliable SMTP server reduces the risk of spam classification.
  • More personalization : Easily adapt sender information to align your emails with your brand.
Découvrir le module : Protecting website headers

How do I configure the SMTP Mailer module?

  1. Activate the : From the WPMasterToolKit dashboard, activate the module SMTP Mailer.
  2. Personalize the sender :
    • Enter a sender name and a personalized email address.
    • (Optional) Activate the "Force sender" option to guarantee the use of this information.
  3. Configure the SMTP service:
    • Enter your SMTP server details: host, port, username, password and encryption type (SSL or TLS).
    • (Optional) Enable the "Bypass SSL" option if you are using a local configuration or a development environment.
  4. Record and test : Use the built-in tool to send a test email and check that everything is working as expected.
SMTP configuration in WordPress for sending e-mails.

Technical documentation: the hooks used

The module uses two main hooks to manage and test the sending of emails:

  1. Action phpmailer_init
    This hook lets you configure SMTP parameters before sending an email. Here's how it's used: add_action( 'phpmailer_init', array( $this, 'deliver_email_via_smtp'), 99999 );
    • Defines SMTP host, port, encryption and connection information.
    • Customize the sender and force settings if necessary.
  2. Action wp_ajax_{action}
    This action is used to send a test email via an AJAX request. Here's an example: add_action( 'wp_ajax_' . $this->ajax_action, array( $this, 'send_test_email') ); The test checks whether the SMTP configuration is working correctly and returns a pass or fail message.

Our technical choices

  • Universal compatibility : The module integrates seamlessly with popular SMTP services such as Gmail, SendGrid, Amazon SES and others.
  • Debugging options : The debug mode captures detailed information on attempted sendings, making it easy to diagnose problems.
  • Enhanced security : Although we provide the option of bypassing SSL verification for specific environments, we encourage the use of secure settings for all Internet shipments.
Pro
1 site
3.50$
/Month
14
Days
Money-back guarantee
risk-free at 100 %!

Conclusion

The module SMTP Mailer from WPMasterToolKit is an all-in-one solution for optimizing email management on your WordPress site. Whether it's to guarantee better deliverability or customize sender information, this module offers total control, all in an intuitive interface. No need for additional plugins: with SMTP Mailer, you benefit from simple, reliable configuration directly integrated into your WordPress environment.

Category
Other
Version
≤ 1.7.0
Type
Free
More than 21 reviews
+2000
Installations
113
Modules
Pro
1 site
30.00$
/Year