We need some screenshots for this section! Feel free to follow the edit this page link and contribute.
The Swift Mailer module can be used with Commerce in order to send HTML emails. The Swift Mailer library has also been proposed to be added to core to deprecate most of Drupal core's mailsystem. More can be found https://www.drupal.org/node/1803948.
Swift Mailer depends on the Mail System module. Install both using Composer:
composer require drupal/swiftmailer
Then enable the Swift Mailer module. This will automatically enable the Mail System module as well.
First, configure the Mail System module at
To have Swift Mailer handle all email for your site, set both the Formatter and Sender to "Swift Mailer."
Next, configure the Swift Mailer settings at
Be sure to select the mail transport mechanism to use.
For the highest mail delivery rate, consider using SMTP instead of the native PHP mail function.
Next, click the "Messages" tab.
Be sure to set the "Message format" to "HTML" and then click "Save configuration." Adjust other settings as desired.
Now, click the "Test" tab.
Send yourself a test email to verify that everything is working.
The Drupal.org documentation handbook has a great article for working with email in a development and testing environment: https://www.drupal.org/docs/develop/local-server-setup/managing-mail-handling-for-development-or-testing
Found errors? Think you can improve this documentation? edit this page