Comments on: How to Send Emails in Laravel: A Complete SMTP & Email API Guide https://mailtrap.io/blog/send-email-in-laravel/ Modern email delivery for developers and product teams Wed, 08 Oct 2025 14:06:09 +0000 hourly 1 By: Belen https://mailtrap.io/blog/send-email-in-laravel/#comment-1541 Tue, 09 Mar 2021 17:45:10 +0000 http://blog.mailtrap.io/?p=650#comment-1541 Muchas gracias!!! me ha sido de gran ayuda tu artículo.

]]>
By: Keanu Reeves https://mailtrap.io/blog/send-email-in-laravel/#comment-1536 Mon, 01 Mar 2021 12:09:24 +0000 http://blog.mailtrap.io/?p=650#comment-1536 Thank you !!!

]]>
By: Piotr Malek https://mailtrap.io/blog/send-email-in-laravel/#comment-1372 Mon, 20 Jul 2020 10:50:39 +0000 http://blog.mailtrap.io/?p=650#comment-1372 In reply to Mouhsen Ibrahim.

Hey! Thanks for your comment and I’m really glad you found your article useful.

You’re absolutely right that one should use ‘markdown’ method with Markdown templates. You can see the example of it in the last paragraph of this article: https://blog.mailtrap.io/send-email-in-laravel/#How_to_send_email_in_Laravel_70_using_SMTP

The ‘view’ method, however, is used to specify the template when rendering the content of an email (built with Blade, for example), as demonstrated in the Laravel docs: https://laravel.com/docs/7.x/mail#configuring-the-view

So to my knowledge, the sample above is correct. If you spot any inconsistencies here or in other articles, please us know. Thanks!

]]>
By: Mouhsen Ibrahim https://mailtrap.io/blog/send-email-in-laravel/#comment-1369 Sat, 18 Jul 2020 07:52:55 +0000 http://blog.mailtrap.io/?p=650#comment-1369 Hi, thanks for the nice article, it was helpful for me, but there is an error in your code in the build method of the Mailable class it should be as follows

return $this->from(‘example@example.com’)
->markdown(’emails.newuser’);

use markdown instead of view when creating the email using markdown.

]]>