Send Emails with Spring Boot

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024

Комментарии • 73

  • @sabkaBaap007
    @sabkaBaap007 5 дней назад

    Bro I'm not able to do this with an outlook account. Could you please try it once with outlook? So that I can understand if it's only me or it doesn't work for anyone. Everywhere gmail has been used. I want to see outlook for once.

  • @bijaypandey20
    @bijaypandey20 Год назад +3

    Great way of explaining things.......! Thanks for this video, it really helped a lot ❤

  • @yusufozcelik4634
    @yusufozcelik4634 Год назад +2

    Hi , can u make a video about spring security6 and spring boot 3.x.x.How to make a jwt token, refresh token etc. I like your series thank u :)

    • @AnilReddyAtoZ
      @AnilReddyAtoZ Год назад +1

      I need to know, thanks for asking

    • @GetArrays
      @GetArrays  Год назад +2

      Yea it’s in the works actually

  • @ashishranjankumar949
    @ashishranjankumar949 7 месяцев назад +1

    There is a lot to learn from your style of coding. I really love your videos and channel. Way to go brother. Keep up the excellent work. It helps to implement the concepts in our own projects. Once again, thank you so much !!

  • @redeye2461
    @redeye2461 2 месяца назад

    Hello
    Thanks for this video very helpful for me
    And i also like to know which theme did you use in intellij ide
    I really like it
    Again thanks a lot ❤😊

  • @deeplife9654
    @deeplife9654 6 месяцев назад

    Thanks for not uploading a hello world example 😂😂😂

    • @GetArrays
      @GetArrays  6 месяцев назад

      lol you got it

  • @errahulrajocjp
    @errahulrajocjp 8 месяцев назад +1

    you are genious, Sir 🔥

  • @jwlioCesar
    @jwlioCesar 5 месяцев назад +1

    Thank you so much for this content.

    • @GetArrays
      @GetArrays  5 месяцев назад

      Glad you enjoy it!

  • @ferrisgamer7457
    @ferrisgamer7457 11 месяцев назад +1

    Wowww thats amazing, the content u gave us, really nice, thank u!

    • @GetArrays
      @GetArrays  11 месяцев назад +1

      You’re welcome

  • @seydinand18
    @seydinand18 3 месяца назад

    thank's 🙏🏾

  • @hassansaid2518
    @hassansaid2518 Год назад +1

    Thank you, course very good and useful

  • @krasser650
    @krasser650 5 месяцев назад

    As of today, it is no longer possible to generate a password for an app with two-step authentication. What to do in this case?

    • @GetArrays
      @GetArrays  4 месяца назад

      Just google what the new process is.

    • @krasser650
      @krasser650 4 месяца назад

      @@GetArrays If I understand you correctly, you don't have an answer to my question?

  • @ShermukhammadKarimov
    @ShermukhammadKarimov 2 месяца назад

    thanks for this amazing project

  • @mithleshkumar-bb4jr
    @mithleshkumar-bb4jr 5 месяцев назад

    Sir please help me app password option is not showing 😢😢

    • @GetArrays
      @GetArrays  5 месяцев назад

      I think there has been a change from Google recently and I don't know what the new process is yet. But use a different mail server.

    • @mithleshkumar-bb4jr
      @mithleshkumar-bb4jr 5 месяцев назад

      @@GetArrays resolved sir

  • @dareSh0
    @dareSh0 Год назад

    Does anybody know a good resource for figuring out how theese custom properties work? Specifically, why they have to be declared in one yml file and used in another? Can it be done in one application_properties? 52:53 and 57:50

    • @GetArrays
      @GetArrays  11 месяцев назад +1

      It doesn't have to be this way. I showed this setup in case you have different environment. You might not see why this is important but once you need to deploy the application you will understand how crucial this is.

  • @Herman-mq3dp
    @Herman-mq3dp 10 месяцев назад

    will this work also on live server?

  • @oh_hi_mars
    @oh_hi_mars 8 месяцев назад

    Greate video.
    Thanks

  • @IonGuzun-q4i
    @IonGuzun-q4i Год назад

    can u please make a video with spring boot and angular with autentification and autorization?

  • @JulioCesar-Arc
    @JulioCesar-Arc 6 месяцев назад

    16:43 Why do you create a service and then implement its methods, when you can already implement it in the same service? Sincere question, don't get me wrong.

    • @PJay-ns3eh
      @PJay-ns3eh 5 месяцев назад +1

      We are following the SOLID principles. Read more on that

    • @GetArrays
      @GetArrays  5 месяцев назад

      Also mean you can implement the service as many times as you like. For example, you can use a mock service implementation that uses mock data for testing, and them use another implementation of that service in production. This way you only have to change a simple thing, a bean name, instead of changing all the methods

  • @-Altera-
    @-Altera- Год назад

    How would you send a timed/scheduled email at a specific date-time? So for example, if you have a database that has stored information on a specific date and time (e.g. for a task of some sort), how would you send an email to a recipient (responsible for that task) let's say 24 hours before that date-time value. This date-time could be an upcoming appointment or a deadline and the email should remind the recipient of this 24 hours prior that date-time.
    For simplification, let's say that a database table has the following columns: name, emailAddress, taskName, date-time. The software would then based on the email and date-time values of the row same row send a mail to the email address 24 hours prior to the date-time value.
    A tutorial or something of the like would be nice but I appreciate any response to the question :).

    • @GetArrays
      @GetArrays  Год назад +1

      CRON job. Get the data from the database based on a status. Send the email. Spring Boot makes it very easy to do that with a scheduler.

    • @-Altera-
      @-Altera- Год назад

      @@GetArrays Alright, I'll look into that. Thank you for the reply :).

  • @xiannaandreicabana8433
    @xiannaandreicabana8433 3 месяца назад

    Thank you so much

    • @GetArrays
      @GetArrays  3 месяца назад

      You’re welcome

  • @SAMM3314
    @SAMM3314 9 месяцев назад

    I get cors error and 401

  • @obakengmorobane3708
    @obakengmorobane3708 4 месяца назад

    Thanks a lot for the video, it is really educational

    • @GetArrays
      @GetArrays  4 месяца назад

      Glad it was helpful!

  • @UbaldoCortez-i9k
    @UbaldoCortez-i9k 10 месяцев назад

    incredible, thank you very much for sharing your knowledge

    • @GetArrays
      @GetArrays  10 месяцев назад

      You’re welcome

  • @Matlaps123
    @Matlaps123 10 месяцев назад

    Fabulous video as always. Is there a way to make the HTML template without using Thymeleaf? I am not sure I am making sense right now but I want to keep the footprint of the JAR small. Is it possible to use vanilla HTML and CSS? Or do we now lack the model?

    • @GetArrays
      @GetArrays  10 месяцев назад

      You can use inline HTML. Basically a very long string that has both HTML and your message, being passed as the message string. Something like: “Hello Workd” as the message. If you use the JavaMailSender to create the mine message, with the helper from the mine message, you can pass a boolean to indicate that it’s HTML

    • @GetArrays
      @GetArrays  10 месяцев назад

      The MineMessage has a similar method that take an encoding. So set the encoding to “text/html”

  • @creativevn2924
    @creativevn2924 10 месяцев назад

    thank you so much

  • @aliksargsyan2782
    @aliksargsyan2782 Год назад

    If we transform EmailUtis class into abstract class will it work?

  • @careduvir
    @careduvir 10 месяцев назад

    Thanks!!! Great explanation

  • @tomaszw6449
    @tomaszw6449 11 месяцев назад

    Big thumbs up!

  • @darlingtonolelewe1212
    @darlingtonolelewe1212 Год назад

    Perfectly made course. Thank you

  • @joelravanely8914
    @joelravanely8914 Год назад

    Thank you

  • @MrTinh-t1z
    @MrTinh-t1z Год назад

    Thank you course, very very useful !

  • @joelchabzola8870
    @joelchabzola8870 Год назад

    Thanks for sharing.

  • @Ali-tm7ly
    @Ali-tm7ly Год назад

    Great work!

  • @chengxiong5892
    @chengxiong5892 Год назад

    Great and thank you for sharing this course.

  • @sidof8065
    @sidof8065 Год назад

    Hi sir
    I have this error since that i'm try to implement send email
    Parameter 0 of constructor in com.sidof.security.mail.EmailServiceImpl required a bean of type 'org.springframework.mail.javamail.JavaMailSender' that could not be found.

    • @lunatichigh2896
      @lunatichigh2896 Год назад +1

      The values from the properties file are not binding, we have the same issue. I just hardcoded the values in the service class

    • @sidof8065
      @sidof8065 Год назад

      @@lunatichigh2896 yes it was the problem I have solve it since. Thanks

  • @rouaroua9952
    @rouaroua9952 Год назад

    @Get Arrays