notifiableapp / receive-email
Let your Laravel app receive emails.
0.6.1
2024-05-11 12:52 UTC
Requires
Requires (Dev)
- larastan/larastan: ^2.9
- laravel/pint: ^1.15
- orchestra/testbench: ^9.0
- pestphp/pest: ^2.34
README
Let your Laravel app receive emails.
Installation
composer require notifiableapp/receive-email
Usage
TBD
Forge Deployment
- Add this to your recipes, you can name it
Install Mailparse
. Make sure the user isroot
.
apt-get update apt-get install -y php-cli php-mailparse
-
If you already have an existing server, run this recipe on that server. Otherwise, create a new server and make sure to select this recipe as a
Post-Provision Recipe
. You'll have to showAdvance Settings
to select this. -
Once you have the server ready, open up
Port 25
, add your site, and deploy your Laravel app. -
SSH into your Forge server and go to your site directory. Then run the setup command as a
super user
:
sudo php artisan notifiable:setup-postfix domain-that-receives-email.com
-
Add the following DNS records to your domain:
Type Host Value A your-application-domain.com your.forge.ip.address Type Host Value Priority MX domain-that-receives-email.com your-application-domain.com 10
Research References
Credits
The solutions in this package are inspired by the following projects: