jonjie
122
12
Laravel

Mail from not displaying the correct email

Posted 9 months ago by jonjie

Hi Guys. I've setup my .env file with a different email from using Mail::send(), so basically, What I have is:

.env

[email protected]

EvaluationController

Mail::send(...., function($m){
    $m->from('[email protected]', 'jonjie');
});

But the email displaying is still the gmail one. Why is that? How can I solve it?

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.