How to install Mailhog and int…

0 0
Read Time:51 Second



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

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

===========================================
Website :
Follow us on Facebook :
Follow us on Twitter :
Follow us on Instagram :
Connect with LinkedIn :
===========================================

source

This post was automatic generated with this wp-automatic-plugin

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %
OpenCart Delivery Boy App – Ov… Previous post OpenCart Delivery Boy App – Ov…
This is Code Studio. Deploy dr… Next post This is Code Studio. Deploy dr…

One thought on “How to install Mailhog and int…

Leave a Reply

Your email address will not be published.