Laravel: 3 Ways to Send a Welcome Email (Controller vs Observer vs Events)

preview_player
Показать описание
If you have a newly registered user, you may want to send a welcome email or perform some other action with that user's profile. In Laravel, I will show you three ways how to achieve it.

Also, at the end of the video, you will find out, how much I earn from my Laravel courses :)

- - - - -
Рекомендации по теме
Комментарии
Автор

You made good decision to keep the original video with errors. It is really great learning to see how senior developer solves an error.

AbrarAhmad-mzvl
Автор

Around 3:40 you remove the last letter and retype it to make PHPStorm autocomplete, you can do that by simply putting your cursor somewhere inside the word and pressing alt+enter.

caweren
Автор

You make programming look sooo easy. Thank you 🙌

TheAikinsGuy
Автор

Thanks for Sharing Knowledge. You previous video regarding this topic 'Observers VS. Events Listeners" was worth watching too. Respect from Pakistan.

nabeelyousafpasha
Автор

Such an amazing video to learn this concept. Thanks for this.

meetdave
Автор

Good one. Only missed a remark about "sending e-mails should be done as much as possible through a queue, for better UX (speed)"

ndeblauw
Автор

Now I know where to configure when I try sending otp. Got the sms gateway already but I'm not working on it yet. Thanks. First time I've heard observers.

SilVer-hups
Автор

what is the difference on the performance basis like event as search or make a request efficiently between multiple users and also by using service container

AksoomHussain
Автор

Hi Thanks for video I'm your fan, one question : Is any performance will be better between those method ? and might be like other complicated notification: like in job search website make a candidate send CV notification etc show used controller directly ? cause as I think observer is more general action ? tks

tesshsu
Автор

very educative indeed. Been testing the sending emails using google mail server the emails end in the spam folder. How can we overcome this?

steveowago
Автор

What part of code calls the “something” function in login controller?

upyrable
Автор

Thank you for being around to show us all of this wish if you have a full free course for people who like welling to learn web development using laravel and can't afford a high informative qoualtiy content as you do in your 10 minutes vedios.
Anyway really thank you and wish to support you more than a subscribe and like.

khalilkhassep
Автор

Queued up the events makes registration faster.

haratmalli
Автор

Do you know how to get rid of the "Regard's" word, i exported the mail vendor folder and cant find the word or transalation, nither on the html or the text folders, is there something im missing?

AlfredoElizondoLife
Автор

I am familiar with jobs and queues in laravel and also how to run queue workers in dev env. But recently I encounter an issue while running queue workers in test env. the thing I did on test env is to set a cronjob in crontab that runs every minute to see if there is a new user registered etc then send an email to that user. This thing exhaust server's ram and due to this issue server was not responding. and when I remove cronjob from crontab and restart my server then my application was running fine. My question is how to run queue jobs in test or production env more effectively.

HassanHafeez
Автор

any tutorial how to read emails form dashboard for example Mailbox

habetech
Автор

Sir do you have video about broadcat in laravel?

eleazarfederio
Автор

Is there a possibility that you have discount coupons for third world countries like Argentina? in laraveldaily

lorenipsum
Автор

how can i generate QR code and send it in email

sohaibelmediouni
Автор

laravel websockets simple chat example ? please ?¿

unomas