How To Send Emails In Laravel | How To Email | Laravel Authentication & Mailing

  Рет қаралды 49,907

Code With Dary

Code With Dary

Күн бұрын

Пікірлер: 82
@codewithdary
@codewithdary 3 жыл бұрын
LETS CONNECT THROUGH INSTAGRAM. www.Instagram.com/codewithdary
@kidbrave_7673
@kidbrave_7673 2 жыл бұрын
Thank you, Dory! This is going to be my first laravel project built on my own. But, had no idea how to create a custom email and send it off to a recipient until now! Thank you again for recreating this content! 🙏🏽🙌🏽
@codewithdary
@codewithdary 2 жыл бұрын
Glad it was helpful buddy!
@creativegeek8490
@creativegeek8490 Жыл бұрын
This is really helpful video! Thank you so much. anyone can clearly understand this video
@codewithdary
@codewithdary Жыл бұрын
Thank you so much! :)
@danceban9166
@danceban9166 3 жыл бұрын
Thank you Dary for keeping up with the videos, learning a lot from them right now!
@codewithdary
@codewithdary 3 жыл бұрын
My pleasure Dan!
@mukailarashid5428
@mukailarashid5428 Жыл бұрын
very useful and easy to follow
@codewithdary
@codewithdary Жыл бұрын
I'm very happy to hear that!! :)
@mohamedaladdin
@mohamedaladdin 2 жыл бұрын
I like the way you explain codes, you are very well player in the courses field ♥ thank you
@codewithdary
@codewithdary 2 жыл бұрын
Thank you so much Mohamed!
@progresstechindustries1262
@progresstechindustries1262 3 жыл бұрын
Good video. Concise and clear
@codewithdary
@codewithdary 3 жыл бұрын
Glad it was helpful!
@sharjeeljan
@sharjeeljan 3 жыл бұрын
Thank you, Dary, for a great video! Please also make a video on what things to consider when moving the Laravel project from development to production; what changes are required to be implemented on the project especially with respect to the security and optimization of the app. Thanks.
@danceban9166
@danceban9166 3 жыл бұрын
Dary have recorded already a video on the deployment, you can check it out here kzbin.info/www/bejne/mniYZohobNSGmJY
@codewithdary
@codewithdary 3 жыл бұрын
Thanks for sharing Dan Ceban!!!
@codewithdary
@codewithdary 3 жыл бұрын
And Sharjeel, thank you for your comment as well :)
@shivansh901
@shivansh901 3 жыл бұрын
Thank man, brilliant explanation, very informative, .....Subscribed!!
@codewithdary
@codewithdary 3 жыл бұрын
Thanks Shivansh!
@oscarcontreras7848
@oscarcontreras7848 3 жыл бұрын
Hi, Mr. Dary, Thanks for knowing how to teach Laravel ! Your videos are so clear and easy to understand ! I Wonder if You have a Video o a Course of how to create a DomPDF from a View report (blade file) and how to send it as an attachment in an email in Laravel 7/8 including the route part ?
@codewithdary
@codewithdary 3 жыл бұрын
No I don't Oscar, I'm so sorry. Sounds like an interesting topic tbh! :)
@peterpardo4138
@peterpardo4138 3 жыл бұрын
Thank you
@codewithdary
@codewithdary 3 жыл бұрын
Glad you like them!
@cattdamon2309
@cattdamon2309 3 жыл бұрын
great video, thank you!
@codewithdary
@codewithdary 3 жыл бұрын
You are welcome Catt! :)
@lovebangladesh1919
@lovebangladesh1919 2 жыл бұрын
nice attempt bro tnx for such a nice educational video....
@codewithdary
@codewithdary 2 жыл бұрын
Thank you so much :)
@sam683or
@sam683or 2 жыл бұрын
nice work buddy.
@codewithdary
@codewithdary 2 жыл бұрын
Thanks bro 👍
@jibkas
@jibkas 3 жыл бұрын
Dary the way you explained Laravel email is much clearer than a course I purchased on Laravel 8 from Udemy. Just one question if you can answer it highly appreciate it. How you can remove the Laravel logo branding from the markdown email template. Thanks Man!
@codewithdary
@codewithdary 3 жыл бұрын
Appreciate it man. You just have to customize mail templates. First, make sure that you publish them with the following command: php artisan vendor:publish --tag=laravel-mail You'll find components in resources/views/vendor/mail. The ones you want are message.blade.php and header.blade.php.
@jibkas
@jibkas 3 жыл бұрын
@@codewithdary Thank you so much. Long live Dary
@felix9091
@felix9091 2 жыл бұрын
thanks zat video is good.
@codewithdary
@codewithdary 2 жыл бұрын
Thank you Felix
@glp.1337
@glp.1337 2 жыл бұрын
Great tutorial! You sound very Dutch btw...
@codewithdary
@codewithdary 2 жыл бұрын
I am very Dutch! Also, bedankt!
@mibrahim4245
@mibrahim4245 2 жыл бұрын
THANK YOU SO MUCH .. but I have a question .. I wanted to send an email to the signed in user .. so I did this.. Mail::to(Auth::user()->email)->send(new WelcomeMail()); and it worked .. but I also did this : Mail::to(Auth::user())->send(new WelcomeMail()); and it also worked ! .. as per what I know that Auth::user( ) is an array with the signed in user's data (name, id, email, etc..) so how did it still send the email !?
@codewithdary
@codewithdary 2 жыл бұрын
Authenticated user (logged in) are accessible via the Auth facade's user method
@mibrahim4245
@mibrahim4245 2 жыл бұрын
@@codewithdary thanks.. so it is smart enough to know the email without adding -> email manually
@mo3ad96
@mo3ad96 Жыл бұрын
it sends mail to mailtrap but how can i send email to a email of a user that registred in my app
@mo3ad96
@mo3ad96 Жыл бұрын
pelase help
@codewithdary
@codewithdary Жыл бұрын
Pull in the users through the User model, loop over them and send an email.
@MuhammadYusuf-tr3xe
@MuhammadYusuf-tr3xe 2 жыл бұрын
Nice video, very helpful. Please how do I send an email to multiple user?
@codewithdary
@codewithdary 2 жыл бұрын
Through a loop inside your mailer!
@elkhanhamet2561
@elkhanhamet2561 3 жыл бұрын
thanks Dary!!!
@codewithdary
@codewithdary 3 жыл бұрын
Welcome Elkhan! :)
@GigaHertZ28
@GigaHertZ28 2 жыл бұрын
thanks
@codewithdary
@codewithdary 2 жыл бұрын
Welcome!
@whatdaro
@whatdaro 3 жыл бұрын
Can you provide the instructions for sending mail using standard sendmail, without using Mailgun or Mailtrap like services. Why would be the reason for using a 3rd party when the hosting server can handle it. I don't like the idea of my emails going through some other party. Unless there is technical reason for doing that.
@richardpineda4400
@richardpineda4400 3 жыл бұрын
Expected response code 220 but got code "503", with message "503 Bad sequence of commands "
@demolatheophilus9394
@demolatheophilus9394 3 жыл бұрын
Thank you Dary :) I like the way you handle stuffs here, but m confused about something, How can the mail reach users and not my mailtrap dashboad or something.
@codewithdary
@codewithdary 3 жыл бұрын
You should use another mail driver :)
@demolatheophilus9394
@demolatheophilus9394 3 жыл бұрын
@@codewithdary yes thank you find a way around it.
@k_a_r_i_s-1812
@k_a_r_i_s-1812 3 жыл бұрын
THANK YOU FOR THE GREAT CONTENT, how do you send emails using hmailserver and laravel? please make a video
@Spoutnik1707
@Spoutnik1707 3 жыл бұрын
This is the same process. When you create an account on your hmailserver, you will get credentials for your "User Email Account" use the SMTP Server (Username, password) port etc.. You will have to go under your [.env] file and the mail_ section corresponding your "Email User Account" credentials 10:07
@k_a_r_i_s-1812
@k_a_r_i_s-1812 3 жыл бұрын
@@Spoutnik1707 the process is not the same hmailserver is offline i have tried manytimes and failed and there is no video on yotube for hmailserver and laravel. it has smtp but i have failed to figure it out please help me in short video
@Spoutnik1707
@Spoutnik1707 3 жыл бұрын
@@k_a_r_i_s-1812 what do you mean by offline? Is it on the same computer who execute the web server ... if yes.. you could use "localhost" as the mail_server
@codewithdary
@codewithdary 3 жыл бұрын
Yes, what do you mean with offline? Do you mean Local? At the end of the day all provides work pretty much in the same way.
@k_a_r_i_s-1812
@k_a_r_i_s-1812 3 жыл бұрын
@@codewithdary i am trying to send email from laravel through a local hmailserver application on my server to outlook 365 . Any advise on how to go about this?
@pitoula07
@pitoula07 2 жыл бұрын
I followed your example, but i have an issue: 'Connection could not be established with host "mailhog:1025": stream_socket_client(): php_network_getaddresses: getaddrinfo failed: unknown host.' :(
@codewithdary
@codewithdary 2 жыл бұрын
Have you deleted the old .env variables related to mailing?
@pitoula07
@pitoula07 2 жыл бұрын
@@codewithdary Hi! Sorry for the late reply. Yes, i have only my MAILJET variables in my .env file.
@rajabhishek2936
@rajabhishek2936 3 жыл бұрын
Please make video on laravel roles and permission
@codewithdary
@codewithdary 3 жыл бұрын
Maybe! :D
@davinci2640
@davinci2640 3 жыл бұрын
if u can make a series for e-commerce website with laravel 8 + bootstrap that would be great
@codewithdary
@codewithdary 3 жыл бұрын
Might do a Udemy course on it in the future :)
@justmonika6529
@justmonika6529 2 жыл бұрын
im getting this error when i try to simulate sending an email using mailtrap "Authenticator "CRAM-MD5" returned "Expected response code "235" but got code "451"" can anyone help.
@codewithdary
@codewithdary 2 жыл бұрын
Never seen it before, but based on some Google search I saw this which looks solid: 'mailtrap has some limit on how many emails you can send through an account, perhaps you can try and create new mailtrap account? or try use mailhog for mail testing'
@abelmarkos5753
@abelmarkos5753 3 жыл бұрын
EXCELENT
@codewithdary
@codewithdary 3 жыл бұрын
Thank you!
@younissjaafil
@younissjaafil 2 жыл бұрын
class extension ??
@codewithdary
@codewithdary 2 жыл бұрын
You have to be a bit more clearer about your issue/question. I don't memorise all my videos!
@donpentavia4317
@donpentavia4317 3 жыл бұрын
how to change header image?
@codewithdary
@codewithdary 3 жыл бұрын
You just have to customize mail templates. Run this command: php artisan vendor:publish --tag=laravel-notifications After that you'll find templates in resources/views/vendor/notifications.
@searchezant3226
@searchezant3226 2 жыл бұрын
Exactly the same video as coders tape haha
@codewithdary
@codewithdary 2 жыл бұрын
I mean how can you make this topic different? Or do you think that I’be made my 250+ KZbin videos by watching other videos? 😂😂😂
Laravel Mail Basics 2024 | Send emails with Laravel
9:31
Matt Socha
Рет қаралды 44 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
What is Firebase and how to use it
41:01
Firebase
Рет қаралды 650 М.
Laravel Octane: supercharge your Laravel applications
8:34
Aaron Francis
Рет қаралды 54 М.
An Illustrated Guide to OAuth and OpenID Connect
16:36
OktaDev
Рет қаралды 640 М.
Laravel Queues 101: Example with Sending Emails
8:43
Laravel Daily
Рет қаралды 79 М.
Authorization in Laravel: Can You Do That?
8:29
Laravel
Рет қаралды 12 М.
JWT Authentication Tutorial - Node.js
27:36
Web Dev Simplified
Рет қаралды 1 МЛН
Laravel 8 REST API With Sanctum Authentication
54:13
Traversy Media
Рет қаралды 553 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН