Email with WordPress πŸ“§

WordPress uses the default wp_mail() function to send emails which is similar to PHP’s mail() function. But we at rtCamp recommend and use Amazon SES (Simple Email Service), a cloud-based email service to send emails and MailHog to test and debug email delivery. β˜οΈπŸ•΅οΈ

Sending emails with Amazon SES

Credits: Edureka!

Learn how to set up Amazon SES with WordPress from the below resources –

Testing emails with MailHog

MailHog is an email testing tool for developers. You can check it out on GitHub. To enable MailHog using Easy Engine, you can follow this support document.

Important Note: If plugin of external email service activated on development server or local setup and MailHog also enabled then MailHog won’t prevent sending emails. So, you need to deactivate plugin.

Caution: It would be better to not use any external third-party email service plugins. As they may send unintentional emails to customers. As it doesn’t work with mail hog, the mails will be sent to clients from local development site with local URLs.

More resources