Support the ongoing development of →
Mail Laravel
Last updated 3 months ago.

Try changing the MAIL_ENCRYPTION to TLS or the MAIL_PORT to 25 or 465


i changed my the port to 25 and the encryption to null it worked but for only one email and the other emails not working. it sends only to a specific email even i am making it dynamic:

// mail $user = User::find($request->user_id);

    $email = $user->email;

    Mail::send('site.pages.messageDraft', ['order'  => $order, 'user' => $user],
        function($message) use ($email) {
            $message->from('[email protected]', 'BuyOnline');
            $message->to($email)->subject('New Order');

    return ['status' => 'success'];

Sign in to participate in this thread!


Your banner here too?


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

Your logo here?

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

© 2022 - All rights reserved.