Send Mail to all users by CRON Job in Laravel CRON Job Lectures #1

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ธ.ค. 2024

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

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

    very helpful vedio sir

  • @naisamuthakkan1446
    @naisamuthakkan1446 8 หลายเดือนก่อน +3

    instead of adding the loop for adding email ids into array. You can use the laravel function.
    $emails = $usersMail->pluck("email")->toArray();
    Any way nice video.

  • @miltonchowdhury4016
    @miltonchowdhury4016 2 ปีที่แล้ว +1

    wow....awesome video and very helpful.....plz bhai make videos on events, queue...thanks a lot

  • @AkhileshYadav-lv3kh
    @AkhileshYadav-lv3kh 2 ปีที่แล้ว +1

    Thank you sir 👍👍

  • @ParvinderSingh013
    @ParvinderSingh013 2 ปีที่แล้ว +1

    Nice bro

  • @samitkhanal1737
    @samitkhanal1737 2 ปีที่แล้ว +1

    at env file ......we need to insert our gmail password and username?..is there necessary to change any configuration at gmail setting

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

      Brother you need to add the your gmail and google SMTP password not gmail password understand?

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

    I dont know mail is not sending I've followed each step of you but didnt send the mail.... if there is a library to install? or anything else?

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

      You need to add SMTp

    • @adityamanani
      @adityamanani ปีที่แล้ว +2

      @@ProgrammingExperience ok so i need to use google smtp and they will give password and each details? Right?

    • @ProgrammingExperience
      @ProgrammingExperience  ปีที่แล้ว

      @@adityamanani yes you are Right?

    • @adityamanani
      @adityamanani ปีที่แล้ว +2

      @@ProgrammingExperience ok thank you so much

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

      @@adityamanani your welcome brother 👍

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

    Schuduler mail is not working in laravel 5.4 version

    • @ProgrammingExperience
      @ProgrammingExperience  ปีที่แล้ว

      What's the error showing?

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

      @@ProgrammingExperience in server i am getting body html that i send to email in server but in local there is no error

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

      Brother i think some mistakes are available in your code that's why mail is not sending.

    • @sandipdas4765
      @sandipdas4765 ปีที่แล้ว

      @@ProgrammingExperience i will take your point. But i use mailtrap credentials email works😂😂. But smtp credentials don't work for crons job. But when i used to hit manually for mail triggered route call from browser email works

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

      @@ProgrammingExperience both works from browser hits but cron job mail not triggered laravel 5.4. thru smtp credentials. You should try from your end.

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

    There is log error. When it hits from browser mail sends but mail doesn't go thru scheduler

    • @ProgrammingExperience
      @ProgrammingExperience  ปีที่แล้ว

      What's the error showing?

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

      @@ProgrammingExperience there is no log.

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

      @@ProgrammingExperience maitrap credentials that it works for both browser and custom commands

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

      @@ProgrammingExperience but smtp credentials only works for browser hit

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

      @@ProgrammingExperience mail::failure count is 0😂😂. Is there any solution

  • @whitishcreates
    @whitishcreates หลายเดือนก่อน +1

    I am unable to send email to users.

    • @ProgrammingExperience
      @ProgrammingExperience  หลายเดือนก่อน

      Have you added the SMTP credentials in env file?

    • @whitishcreates
      @whitishcreates หลายเดือนก่อน +1

      @@ProgrammingExperience I have done that but it is still not working.

    • @ProgrammingExperience
      @ProgrammingExperience  หลายเดือนก่อน

      @whitishcreates have you run the PHP artisan config:clear command, after add the SMTP?

    • @whitishcreates
      @whitishcreates หลายเดือนก่อน +1

      @@ProgrammingExperience can I send you the complete code and can you please check it.

    • @whitishcreates
      @whitishcreates หลายเดือนก่อน +1

      @@ProgrammingExperience please provide your Gmail.

  • @md.sirajulhowlader7353
    @md.sirajulhowlader7353 2 ปีที่แล้ว +1

    Sir Please Make a One Request Video. 😍
    My Database Status ("0") I want to Update My Database Status to ("1") At a certain Time Using Carbon Time.
    Supposes,
    I want After 3 Days Like [25-10-22 to 28-10-22(Database Store Time & Date) ] After That Time Auto Update My Database Status to (1).
    Thankyou 😍

  • @md.sirajulhowlader7353
    @md.sirajulhowlader7353 2 ปีที่แล้ว +1

    Sir How Can i Get a Data Position in MySql With Laravel.
    Suppose i have 100 records in Database. I want to Show 49 Serial Data As A
    49 of 100 records.
    How Can I Get This?
    Thankyou 😍

  • @kokokhan4279
    @kokokhan4279 3 หลายเดือนก่อน +1

    worst way of teaching

    • @ProgrammingExperience
      @ProgrammingExperience  3 หลายเดือนก่อน

      Hmm to hein kyunki kabhi collages mein teaching nahi ki, direct lecture bana diya.