Having a contact form where a user can submit their contact request is a very common thing in today’s modern websites. Follow along as we add a contact form and use a Mailable to send an email.

For the best experience, follow along in our interactive school at

Resources
Course Source Code

Hit us up on Twitter with any questions or comments @codertape (

About This Course

Ready to get started on your path to Laravel Artisan? In this series, we are breaking down all of the basics of Laravel to get you comfortable using the world’s most popular PHP framework. Let’s get started!

Nguồn: https://akihito-shigeno.com

Xem thêm bài viết khác: https://akihito-shigeno.com/cong-nghe/

32 Comments

Maurizio Calarese May 27, 2020 at 3:19 am

Could you please share the code along the videos?

Anuoluwapo David May 27, 2020 at 3:19 am

What does trying to access array offset on value of type null means

Mustafa Taeb May 27, 2020 at 3:19 am

How to solve this error
"Swift_TransportException

Cannot send message without a sender address"

Cedric Labrador May 27, 2020 at 3:19 am

Cannot send message without a sender address << I'm getting this error

Haseeb Hussain May 27, 2020 at 3:19 am

awesome video so helpful

Shashwat Singh May 27, 2020 at 3:19 am

Can you do a Laravel Contract tutorial? All the other tutorials are in a language other than English.

my next getaway May 27, 2020 at 3:19 am

plz i need a help when i send message i get an error :
Cannot send message without a sender address

Bruno Moyse May 27, 2020 at 3:19 am

Thank you so much, it's been really helpful !

Delvin Duel May 27, 2020 at 3:19 am

when I try to send mail I get this error over and over .. "Cannot send message without a sender address " .
I set up all correctly and (using mailtrap) I am using Laravel 7.0.2 . If you dont mind can you figure it out for me.. Thank You.

onyango ishmail May 27, 2020 at 3:19 am

thanks alot it worked for me

Gagan Bhujel May 27, 2020 at 3:19 am

The message are only shown in mail trap not in our gmail..

PutraIB LIVE May 27, 2020 at 3:19 am

i have problem :

Swift_TransportException

Cannot send message without a sender address

pls help me

Dina Essam May 27, 2020 at 3:19 am

i have this error
i restarted my server and no result
Swift_TransportException

Cannot send message without a sender address

Sammy Sosa May 27, 2020 at 3:19 am

i still cant believe these lessons are free

Anirban Roy May 27, 2020 at 3:19 am

you have a voice of tony stark

Alan Rodriguez May 27, 2020 at 3:19 am

Great video but how can I receive the message at my email, for example info@mydomain.com ???

mos saad May 27, 2020 at 3:19 am

i had a problem when sending mail "Cannot send message without a sender address" any help please

Robby Alvian Jaya Mulia May 27, 2020 at 3:19 am

How to do auto import class like phpstorm but using Visual Studio Code?

Ayaz Amin May 27, 2020 at 3:19 am

please make a video on how to take database backups within laravel app. right from withing a laravel app on button click.

Bibek Shrestha May 27, 2020 at 3:19 am

it worked on local host but gets error when i upload it to server plz help …

Raul Alfonzo May 27, 2020 at 3:19 am

Awesome video man. Quite question over here, tho.

Will I receive an actual Email at the 'test@test.com' email if I changed it for a real email?

Cause I tried and I don't. I keep receiving it only on mailtrap.

Jagtar Singh May 27, 2020 at 3:19 am

help Driver [smtp.smtp] not supported. ………for email sendind

Jagtar Singh May 27, 2020 at 3:19 am

Driver [smtp.smtp] not supported.

Rabbi Mahmud May 27, 2020 at 3:19 am

sir when i am submitting the contact form i am getting the same page and my mail box is showing empty..can you please give me the solution

Mohamed Ilham May 27, 2020 at 3:19 am

Text input fields like name and email are working fine for me. However, when it comes to a dropdown list, how can I get the selected value to my mailtrap inbox? Any help would me much appreciated.

Roman Simonenko May 27, 2020 at 3:19 am

Bravo!

Dragon Jqrako May 27, 2020 at 3:19 am

My contact form isnt working because when i my website i get a error with contact.create is not here

Yong Yee AhSoh May 27, 2020 at 3:19 am

it works. thank you to teach how to send email.

distantstarrr May 27, 2020 at 3:19 am

Upon clicking Send Message, got Laravel error: "Swift_TransportException (530) Expected response code 250 but got code "530", with message "530 5.7.1 Authentication required"

I doubled checked that i had everything setup correctly, like Victor showed, in the video, and all was correct for me. Only after doing an online search, found this at stackoverflow (https://stackoverflow.com/questions/48341078/expected-response-code-250-but-got-code-530-with-message-530-5-7-1-authentic ): run 'php artisan config:cache'. This command worked for me. I was now able to send the email to mailtrap.io

Sven Budak May 27, 2020 at 3:19 am

Awesome tutorial! But can you please show us how we can clear on submit the inputs and show a notification that tells the user that the form successfull has been submitted WITHOUT reloading the site? (jQuery or vueJS)

Ayman Mohamed May 27, 2020 at 3:19 am

Great tutorial,
There's a browser extension called "form filler" it's very helpful to fill any inputs with dummy data it also fills the inputs according to their type (email, password, etc..) it will save you a lot of time in general when testing forms.

Lily Ben May 27, 2020 at 3:19 am

Thanks a lot!

Leave a Comment