Configure Magento to use SendGrid's SMTP server to send all transactional emails.
Note: You need a valid SendGrid account.
composer require yukoff/magento2-sendgrid-smtp
composer config repositories.yukoff-sendgridsmtp git [email protected]:yukoff/magento2-sendgrid-smtp.git
composer require yukoff/magento2-sendgrid-smtp
Install SendGrid SMTP plugin for Magento2
- Download the extension
- Unzip the file
- Create a folder {MAGENTO_ROOT}/app/code/SendGrid/SendGridSmtp
- Copy the content from the unzipped folder
php -f bin/magento module:enable --clear-static-content SendGrid_SendGridSmtp
php -f bin/magento setup:upgrade
Log into your Magetno2 backend, then goto Store -> System -> SendGrid SMTP
and enter your email credentials, SendGrid category (if used) etc.