[Answer]-Varification email is not sending to email address using smtp in local sever in ubuntu

0๐Ÿ‘

โœ…

You would need to setup an smtp server on your local machine. Postfix a great software for smtp emails.

The easiest way is to setup postfix to use your gmail account to send out email. Here is a link to a nice tutorial for the same:
https://rtcamp.com/tutorials/linux/ubuntu-postfix-gmail-smtp/

After configuring Postfix, you can set the EMAIL_PORT=25 or just leave it to default, and you are ready to send out emails.

๐Ÿ‘คSunny Nanda

1๐Ÿ‘

If you are using Gmail account for sending the mail, you would have to use smtp.gmail.com as the host with port 465 and encryption โ€˜sslโ€™

๐Ÿ‘คuser3136777

Leave a comment