What OS is your server running? Have you considered using a mail service provider like Mailgun or Amazon SES? Mailgun for example allows you to send 1000 emails for free each months and can be setup and integrated in no time. You have to consider that it's not done with just setting up a SMTP server, there has to be done much more in order to reliably send emails. Especially if we are talking about bulk sending (e.g. newsletters).
Apr 20, 2021
4
Level 5
Setting up vps for sending emails
I have deployed a Laravel app to a VPS, I can manage the DNS of the domain name pointing to it.
My app needs to send some emails (upon signup for example) so I need to configure a mail host.
However I did not quite understand what I need to install ! I've been reading articles for days, I just don't get it. Do I need postfix ? exim ? dovecot ? all of them ? none of them ? I just want to configure my server to be able to get the necessary details to put in my .env
MAIL_MAILER=smtp
MAIL_HOST=mail.my-beatiful-domain-name.tld
MAIL_PORT=25
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=
I am using A2hosting and have the webuzo panel installed but I didn't find any tool that allows me to configure my mail server.
Please or to participate in this conversation.