Type
magento2-module
Extending shockwavemk mail module by smtp host configuration
magento2-module
Apache-2.0
None
None
None
None
None
This module extends the capabilities of Magento 2 mailing by smtp host configuration.
A new mail transport type is added to the system which takes care of transport of outgoing mails to a mail service provider.
Add the module to your composer file.
{
"require": {
"shockwavemk/magento2-module-mail": "dev-master",
"shockwavemk/magento2-module-mail-smtp": "dev-master"
}
}
Install the module with composer.
composer update
On succeed, install the module via bin/magento console.
bin/magento cache:clean
bin/magento module:install Shockwavemk_Mail_Smtp
bin/magento setup:upgrade
Transport and storeage configuration can be easily done via store config. Installed plug-ins for transport and storeage can be selected at this point.
In Adminhtml/Backend via store config
Stores > Configuration > Advanced > System > Mail Sending Settings
it is possible to configure the follwing settings, if "smtp" is selected in dropdown for "type" value.
The base mail module supports attachment sending. Magento2 does not support native file attachment handling, therefore you need to add some code on your own.