Dear Friends,
If you are developer and want to test your emails locally , so Mailhog is the best tool for local email testing , It's a fake smtp tool. So today I am going to explain how you can install and use it with your magento.
install using Docker
docker run --detach --name=mailhog --publish=127.0.0.1:8025:8025 --publish=127.0.0.1:1025:1025 --restart=unless-stopped mailhog/mailhog
Install without Docker
sudo apt-get -y install golang-go
go get github.com/mailhog/MailHog
wget https://github.com/mailhog/MailHog/re...
sudo chmod +x MailHog_linux_amd64
sudo nano /etc/systemd/system/mailhog.service
add below detail
[Unit]
Description=MailHog for local
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/var/www/html (path_to_your_MailHog_linux_amd64)
[Install]
WantedBy=multi-user.target
Start Mailhog Service
sudo systemctl start mailhog.service
MagePlaza SMTP Extension
https://www.mageplaza.com/magento-2-s...
===========================================
Website : https://www.createswowtech.com/
Follow us on Facebook : / createswowtech
Follow us on Twitter : / hiteshagrawal84
Follow us on Instagram : / hiteshagrawal84
Connect with LinkedIn : / hiteshagrawal84
===========================================