If I'm firing an e-mail from mysite@mysite.com.br
but if I change the from to another e-mail like company@company.com.br
it falls into Mail::failures()
It DOESN'T Works
// username = 'mysite@mysite.com.br'
// password = 'mypassword'
Mail::send("mail.test", [], function ($message) {
$message->to('client@client.com')
->from('company@company.com' , 'Company');
});
client@client.com
falls into Mail::failures()
It Works
but if I change it to:
// username = 'mysite@mysite.com.br'
// password = 'mypassword'
Mail::send("mail.test", [], function ($message) {
$message->to('client@client.com')
->from('mysite@mysite.com.br' , 'My Site');
});
The problem was in my mail server, I talked with the support from my server and he said It its block for fraude reasons