Support the ongoing development of Laravel.io →
Blade Mail
Last updated 2 years ago.
0

#Laravel supports sending email over SMTP. To have laravel relay email through Pepipost, follow the below steps:

#Step 1 – Register Pepipost Account

  • Go to https://pepipost.com
  • Click Try Pepipost Now
  • Fill all the necessary details
  • Wait for a email from Pepipost conforming that your account is provisioned.

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

0

Change your .env like this

MAIL_DRIVER=sendmail
MAIL_HOST=smtp.gmail.com
MAIL_PORT=465
[email protected]
Last updated 8 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.