Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29770

Laravel - Sendgrid smtp error "550 Unauthenticated senders not allowed"

$
0
0

I am following Sendgrid laravel integration using smtp to send email.

I did as the documentation says, all credentials are same as my sendgrid credentials.

But whenever I try to send email using,

Mail::send('mails.demo', $data, function($message)
        {
            $message->to('test@gmail.com', 'test')->subject('This is a test mail!');
        });

It shows error as

Swift_TransportException in AbstractSmtpTransport.php line 383:
Expected response code 250 but got code "550", with message "550 Unauthenticated senders not allowed
"

I can send email using sendgrid test using Telnet guide, that works perfectly.


Viewing all articles
Browse latest Browse all 29770

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>