How to setup Mailhog in Ubuntu PHP Magento 2?

MailHog tools are used to test mail functionality from your local development environment.

If you are using Linux/Ubuntu OS with PHP language and want to set up MailHog for your local setup. MailHog tool is the best suited for your system to test web application mails. Continue reading “How to setup Mailhog in Ubuntu PHP Magento 2?”

How Magento send Order, shipment, invoice and creditmemo emails in Magento 2?

How Magento Send Order Related Emails or Flow of the Order Sender Mail?

Magento sends order-related emails after the order performs an action like Place order, generate Invoice, generate shipment, and credit memo.

Magento_Sales module used for sending Order related emails to the customer.
You can start debugging from the Respective PHP class for the specific email in Magento 2.
Continue reading “How Magento send Order, shipment, invoice and creditmemo emails in Magento 2?”

How Magento send email to Password reset/changed of Customer?

Customer Password is reset or changed in Magento 2, Password Reset Mail is getting to the customer for password reset or changed action.

Magento_Customer Module is responsible for sending an email to the specific customers for a password reset action. Continue reading “How Magento send email to Password reset/changed of Customer?”