Using the Mail-In-A-Box Droplet for My App Deployment

Posted November 30, 2020 1.3k views

I really enjoyed your guide. I want to deploy a Laravel application and would like to know if I can also deploy the Mail-in-a-box on the same droplet as the mail-in-a-box is to be used for the Laravel application user mails.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi @gcpabia,

Yes, you can use Mail-in-a-box with Laravel on the same Droplet but I would suggest using something in the midst of Postfix. It’s a lot more up to date and a lot more used which will help in any troubleshooting you need to do. DigitalOcean have a pretty good tutorial on that one as well

Check it out and see if you like it better. It can be used with Laravel as well.

by finid
by Savic
Postfix is a mail transfer agent (MTA), an application used to send and receive email. It can be configured so that it can be used to send emails by local application only. In this tutorial, you'll install and configure Postfix on Ubuntu 20.04 as a send-only SMTP server. You'll also request free TLS certificates from Let's Encrypt for your domain and encrypt the outbound emails using them.