#Laravel supports sending email over SMTP. To have laravel relay email through Pepipost, follow the below steps:
#Step 1 – Register Pepipost Account
Cool,you are ready to go!
#Step 2 – Change mail configurations in .env and mail.php files
Open .env located at root of the application, edit the file as below
MAIL_DRIVER=smtp
MAIL_HOST=smtp.pepipost.com
MAIL_PORT=587
MAIL_USERNAME=pepipostUsername
MAIL_PASSWORD=pepipostPassword
Now open mail.php located in /config/mail.php.
Edit the file as below:
<?php
return [
'driver' => 'smtp',
'host' => 'smtp.pepipost.com',
'port' => 587,
'encryption' => 'tls',
'username' => 'pepipostUsername',
'password' => 'pepipostPassword',
'sendmail' => '/usr/sbin/sendmail -bs'
];
#Step 3 – Send emails the way you want
Ref : http://laravel.io/forum/06-06-2016-how-to-send-transactional-emails-using-pepipost-in-laravel
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community