AHA Mail SMTP

Description

AHA Mail SMTP is a modern and free WordPress SMTP plugin developed by Amit Hasan Abdullah. WordPress often fails to deliver emails properly, and many emails end up in the spam folder. This plugin solves that problem by routing your emails through trusted SMTP providers.

Key Features

  • Easy Setup Wizard for quick configuration
  • Pre-configured options for Gmail, Outlook, Zoho, Brevo, Mailgun, SendGrid, Amazon SES, SMTP2GO, and more
  • Supports SSL/TLS, STARTTLS, and OAuth 2.0 authentication
  • From Email & From Name customization
  • Force all emails to use defined From Email/Name
  • Test Email & Debugging tools
  • Email logging system
  • Import/Export settings
  • Multisite compatible
  • 100% Free, No Upsells

Supported Email Providers

  • Gmail (with OAuth 2.0 support)
  • Outlook/Hotmail (with OAuth 2.0 support)
  • Zoho Mail (with OAuth 2.0 support)
  • Brevo (Sendinblue)
  • Mailgun
  • SendGrid
  • Amazon SES
  • SMTP2GO
  • Any custom SMTP server

Why Choose AHA Mail SMTP?

  1. Modern Interface: Clean, intuitive admin interface that follows WordPress design standards
  2. Security First: Built with security best practices including encrypted password storage
  3. Easy Configuration: Setup wizard guides you through the entire process
  4. Comprehensive Logging: Track all your email activity with detailed logs
  5. OAuth Support: Secure authentication for major providers like Gmail, Outlook, and Zoho
  6. No Limitations: Completely free with no locked features or upsells

Perfect For

  • Contact forms (Contact Form 7, Gravity Forms, etc.)
  • WooCommerce order notifications
  • User registration emails
  • Password reset emails
  • Newsletter plugins
  • Any WordPress email functionality

Ensure your WordPress emails reach the inbox with AHA Mail SMTP!

External services

This plugin connects to external services only when you configure and use OAuth 2.0 authentication or specific SMTP providers. No data is sent to any external service without your explicit configuration and consent.

Google (Gmail OAuth)

When using Gmail with OAuth 2.0, this plugin connects to Google’s OAuth servers to authorize access to your Gmail account for sending emails.

  • What is sent: Your OAuth authorization code, client credentials, and refresh tokens.
  • When: Only when you initiate the OAuth flow or when the plugin automatically refreshes an expired access token.
  • Endpoints: https://accounts.google.com/o/oauth2/auth and https://oauth2.googleapis.com/token
  • Google Terms of Service | Google Privacy Policy

Microsoft (Outlook OAuth)

When using Outlook with OAuth 2.0, this plugin connects to Microsoft’s identity platform to authorize sending emails via Outlook.

  • What is sent: Your OAuth authorization code, client credentials, and refresh tokens.
  • When: Only when you initiate the OAuth flow or when the plugin automatically refreshes an expired access token.
  • Endpoints: https://login.microsoftonline.com/common/oauth2/v2.0/authorize and https://login.microsoftonline.com/common/oauth2/v2.0/token
  • Microsoft Terms of Service | Microsoft Privacy Policy

Zoho (Zoho OAuth)

When using Zoho Mail with OAuth 2.0, this plugin connects to Zoho’s OAuth servers to authorize email sending.

  • What is sent: Your OAuth authorization code, client credentials, and refresh tokens.
  • When: Only when you initiate the OAuth flow or when the plugin automatically refreshes an expired access token.
  • Endpoints: https://accounts.zoho.com/oauth/v2/auth and https://accounts.zoho.com/oauth/v2/token
  • Zoho Terms of Service | Zoho Privacy Policy

Amazon SES

When using Amazon SES as your SMTP provider, this plugin connects directly to Amazon SES SMTP endpoints to deliver your WordPress emails.

  • What is sent: Your email content (to address, subject, body) and SMTP credentials for authentication.
  • When: Every time a WordPress email is sent while Amazon SES is configured as the provider.
  • Endpoint: email-smtp.us-east-1.amazonaws.com (region may vary)
  • AWS Terms of Service | AWS Privacy Policy

Your SMTP Provider

This plugin is designed to route all WordPress emails through the SMTP server you configure. Your email content is sent to whatever SMTP host you specify in the settings. Please refer to the terms of service and privacy policy of your chosen provider.

Privacy Policy

AHA Mail SMTP does not collect, store, or transmit any personal data outside of your WordPress installation. All SMTP credentials and settings are stored locally in your WordPress database. Email logs (if enabled) are stored locally and can be disabled at any time.

Support

For support, please use the WordPress.org support forums. We monitor them regularly and will do our best to help you with any issues.

Contributing

AHA Mail SMTP is open source. If you’d like to contribute, please visit our GitHub repository.

Credits

Developed by Amit Hasan Abdullah with love for the WordPress community.

Special thanks to the WordPress community and all the contributors who make WordPress amazing.

Screenshots

  • Setup Wizard – Easy step-by-step configuration
  • General Settings – Clean, modern interface for SMTP configuration

Installation

Automatic Installation

  1. Log in to your WordPress admin dashboard
  2. Go to Plugins > Add New
  3. Search for “AHA Mail SMTP”
  4. Click “Install Now” and then “Activate”
  5. Go to AHA Mail SMTP in your admin menu to configure

Manual Installation

  1. Download the plugin zip file
  2. Log in to your WordPress admin dashboard
  3. Go to Plugins > Add New > Upload Plugin
  4. Choose the zip file and click “Install Now”
  5. Activate the plugin
  6. Go to AHA Mail SMTP in your admin menu to configure

Configuration

  1. After activation, you’ll see the setup wizard (or go to AHA Mail SMTP in admin menu)
  2. Choose your email provider from the list
  3. Enter your SMTP settings (auto-filled for popular providers)
  4. Configure authentication (OAuth recommended for Gmail, Outlook, Zoho)
  5. Set your From Email and From Name
  6. Send a test email to verify everything works
  7. You’re done! Your emails will now be sent via SMTP

FAQ

Is this plugin really free?

Yes! AHA Mail SMTP is completely free with no limitations, locked features, or upsells. All features are available to everyone.

Which email providers are supported?

We support all major email providers including Gmail, Outlook, Zoho, Brevo, Mailgun, SendGrid, Amazon SES, SMTP2GO, and any custom SMTP server.

Do I need technical knowledge to set this up?

Not at all! Our setup wizard guides you through the entire process step by step. For popular providers, settings are automatically configured.

What is OAuth and should I use it?

OAuth 2.0 is a more secure authentication method that doesn’t require storing your email password. We highly recommend using OAuth for Gmail, Outlook, and Zoho.

Will this work with my contact form plugin?

Yes! AHA Mail SMTP works with all WordPress plugins that use the standard wp_mail() function, including Contact Form 7, Gravity Forms, WooCommerce, and more.

Can I use this on a multisite network?

Yes, AHA Mail SMTP is fully compatible with WordPress multisite networks.

How do I know if my emails are being sent?

The plugin includes comprehensive email logging. You can view all sent emails, their status, and any error messages in the Email Logs tab.

What if I need help?

Check our documentation first. If you still need help, you can reach out through the WordPress.org support forums.

Can I import/export my settings?

Yes! You can export your settings as a JSON file and import them on another site. This is perfect for developers managing multiple sites.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“AHA Mail SMTP” is open source software. The following people have contributed to this plugin.

Contributors

Translate “AHA Mail SMTP” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.0.2

  • Minor bug fixes and general improvements.

2.0.1

  • Bug fixed, performance improved.

2.0.0

  • Loaded Security and Wizard classes that were previously missing from the plugin bootstrap
  • Fixed critical encryption false-positive bug that could corrupt stored passwords
  • Fixed fatal error in validate_import_data() caused by call to non-existent method
  • Bundled Font Awesome locally — removed external CDN dependency per WordPress.org guidelines
  • Fixed uninstall.php missing several options (force_from_email, force_from_name, connection_mode, API keys)
  • Fixed security logs autoloading on every page request (performance improvement)
  • Moved wizard inline CSS to assets/css/admin.css
  • Moved admin inline JS to assets/js/admin.js
  • Updated admin.css version comment to 2.0.0

1.4.4

  • Fixed critical error in Email Logs tab when database table doesn’t exist
  • Added automatic database table creation for email logs
  • Improved error handling for all database operations
  • Added table existence checks to prevent fatal errors
  • Enhanced Email Logs tab with better user messaging
  • Fixed logging functionality to ensure table exists before writing

1.4.3

  • Enhanced tab navigation with better spacing and design
  • Split Force From Email/Name into separate checkboxes for granular control
  • Changed Brevo provider icon to mail envelope for better visual clarity
  • Improved tab switching with smoother animations
  • Better spacing between tab titles for improved readability

1.4.1

  • Fixed critical bug causing errors on password reset emails
  • Added missing methods that caused fatal errors
  • Fixed duplicate hook registration issues
  • Improved SMTP configuration reliability
  • Enhanced WordPress mail system override
  • Fixed logger method signature inconsistencies
  • Updated version numbers across all files

1.0.0

  • Initial release
  • Easy setup wizard
  • Support for major email providers
  • OAuth 2.0 authentication for Gmail, Outlook, Zoho
  • Email logging system
  • Test email functionality
  • Import/export settings
  • Multisite support
  • Modern, responsive admin interface
  • Comprehensive security measures