20 - Send reminder emails through Laravel command and use Mailtrap for Emails

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.พ. 2025

ความคิดเห็น • 29

  • @YassineNDv
    @YassineNDv 4 ปีที่แล้ว +1

    one of the best videos , great explanations , thanks a lot !!!

    • @amitavroydev
      @amitavroydev  4 ปีที่แล้ว +1

      You are welcome. Do subscribe and check out my new video on creating a bookmark application in Laravel 8. I am sure you will like it.

    • @YassineNDv
      @YassineNDv 4 ปีที่แล้ว

      @@amitavroydev alreqdy Done Sir and im so glad i found ur channel.
      Thanks

    • @YassineNDv
      @YassineNDv 4 ปีที่แล้ว

      @@amitavroydev i do have one quick Question. I can run tue schedule but only when i specify everyminute. When i use daily its said no scheduled commands. Do you have idea why?

    • @amitavroydev
      @amitavroydev  4 ปีที่แล้ว +1

      Yes the laravel cron scheduler should run every minute. Only, it can keep a track of which command should run when. I hope I was able to answer your question.
      If not, feel free to reach out

    • @YassineNDv
      @YassineNDv 4 ปีที่แล้ว

      @@amitavroydev i think this also had a relation with the time zone and the fact that in midnight the schedule run dont find anything to run since we are testing the today reminders.
      And hiw can i run the schedule like all the time? Beacause Apprently it stopped after. Is this where i should use jobs?

  • @gabrielvelazquezrios7324
    @gabrielvelazquezrios7324 2 ปีที่แล้ว

    Thank you, nice Tutorial

  • @rikimarusaintpreux8448
    @rikimarusaintpreux8448 3 ปีที่แล้ว +1

    very informative thanks to your tutorial bro!!!! respect

  • @saydfuad6914
    @saydfuad6914 3 ปีที่แล้ว +1

    I think grouping users by email on first query by having relationship between reminder and user will avoid querying DB on every user to get email, that may have performance impact when there is many user. Nice video 👍

    • @amitavroydev
      @amitavroydev  3 ปีที่แล้ว

      Thanks for the comment. And yes, you are right. That will be an efficient way.
      Actually, to be frank.. in such situations I use a very slim select query

  • @lachlanyoung16
    @lachlanyoung16 4 ปีที่แล้ว +1

    Great video! Thanks!

  • @loverphp5605
    @loverphp5605 5 ปีที่แล้ว

    perfect work and explain thanks for this greatness video

  • @gilangpangestu7539
    @gilangpangestu7539 4 ปีที่แล้ว +1

    I want to ask, is this automatically send reminders when the time comes? or we need to run php artisan reminder? Thanks in advance

    • @amitavroydev
      @amitavroydev  4 ปีที่แล้ว +1

      The cron is required

    • @gilangpangestu7539
      @gilangpangestu7539 4 ปีที่แล้ว +1

      @@amitavroydev Okay, thanks so much for replying 🙏

  • @Lucifer-hb5vq
    @Lucifer-hb5vq 2 ปีที่แล้ว

    How does the cron run in windows ?

    • @amitavroydev
      @amitavroydev  2 ปีที่แล้ว

      Hmm, I know scheduler is used. However, I have never configured it on Windows server. So won't know

  • @elliotmorgan4722
    @elliotmorgan4722 2 ปีที่แล้ว

    There's no model named Reminder.php.

    • @amitavroydev
      @amitavroydev  2 ปีที่แล้ว

      Please check the app/Models folder in the github repo link

  • @riahtamei5489
    @riahtamei5489 4 ปีที่แล้ว

    may I got the source code, please ?

    • @amitavroydev
      @amitavroydev  4 ปีที่แล้ว

      Added the source code link in the description.

    • @_talhaijaz
      @_talhaijaz 3 ปีที่แล้ว

      @@amitavroydev what are the login credentials

    • @amitavroydev
      @amitavroydev  3 ปีที่แล้ว

      Check the seeder