A
A
avr19722018-05-04 12:00:27
Laravel
avr1972, 2018-05-04 12:00:27

What could be the problem with setting up mailgun in laravel?

Setting up mailgun in laravel. There are no errors, but the letters do not come to the addressee. The mail.php file has the following settings:

'driver' =>  'mailgun',   
    'host' => 'mailtrap.io',
    'port' => 2525,    
    'username' => null,
    'password' => null,
    'encryption' => null,

Tell me please, what could be the problem? Thank you very much

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Y
Yan-s, 2018-05-04
@avr1972

In mailgun, right in the service, there are wonderful logs where you can see what has reached the addressee and what has not, and why.
Next, in the same place in mailgun, make sure that the domain from which you send messages is in the active status.
Next, given settings are wrong, click on domain in mailgun and copy host, username, password into your settings.

A
Alexander Aksentiev, 2018-05-04
@Sanasol

where are the settings?
mailgun driver, with a mailtrap host, and no insignia - that's not set up for nothing.

A
Artem0071, 2018-05-04
@Artem0071

Maybe because mailtrap.io is used only for test messages?
You need to register there and your messages will come to that acc
(not to your mail, but to that application)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question