Send Email from Spring Boot Application

  Рет қаралды 70,005

Daily Code Buffer

Daily Code Buffer

Күн бұрын

Пікірлер: 132
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Follow me on Twitter: twitter.com/DailyCodeBuffer
@sathyanarayananm2480
@sathyanarayananm2480 3 жыл бұрын
Just nw my team given this task to do, thanks alot bro,,, keep going and help many to learn
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Glad it helped 🙂
@thetechthirsty713
@thetechthirsty713 3 жыл бұрын
I just got work to send mail from spring boot and this video dropped. Thanks a lot
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Glad it helped ☺️
@TucoHeisenberg
@TucoHeisenberg 2 жыл бұрын
Haha nice
@funcoding1797
@funcoding1797 2 жыл бұрын
Your knowledge and mastery as well as your teaching method are excellent. God bless you.
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏
@mostafadaneshvar3146
@mostafadaneshvar3146 2 жыл бұрын
i dont know why when i watch your video my problems solved in less than 15 minutes!!thanks daily code
@kirane5911
@kirane5911 3 жыл бұрын
Thank you so much Brother for explaining well about this project
@phuocsanghuynh2935
@phuocsanghuynh2935 2 жыл бұрын
Very easy to understand from your explanation! Have a nice day guy! from Vietnam with love
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏
@eufraniodiogo50
@eufraniodiogo50 3 жыл бұрын
Super simple and super well explained
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Thanks
@kirwakelvinkering3122
@kirwakelvinkering3122 2 жыл бұрын
Thank you Sooo much for this channel ,, as I take tutorials on the same , I gain more interest in watching more , your explanation is that , simple demistifyning confusions once and for all ,, the best of all the Spring boot totorials .
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thank you so much 😊
@habtomgebre1348
@habtomgebre1348 2 жыл бұрын
thanks for the interesting concept, but I have a question, assume we have received daily data with the attached link in the same outlook email that link has a data that needs to save on the database, this email is coming every day and the database needs updated data, which means for every that email coming data the with the database also updated. how can implement this ?.
@-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 :).
@pragmaticcoder6910
@pragmaticcoder6910 2 жыл бұрын
Thanks a lot for this tutorial. Well explained !! :) Could you please make a video on Spring boot-Kafka to trigger email notifications?
@YoutuberMaskarado
@YoutuberMaskarado 3 жыл бұрын
Hi, Im getting this error: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. v16sm4395084qth.51 - gsmtp
@YoutuberMaskarado
@YoutuberMaskarado 3 жыл бұрын
Found the solution. I had to disable the checking in Avast program on Windows for sending emails.
@naranisrimani7343
@naranisrimani7343 Жыл бұрын
Can we select gradle project and do the same, does it works plss reply I need ur help pls
@nihatismayilzade2076
@nihatismayilzade2076 Жыл бұрын
Hello Shabir than you for informative content. But I ask you a question. How to integrate "email subscription" for spring boot project? For example I want to do any newsletter who subscribed my site and those person aware of its newsletter. thank you in advance
@Gamer_with_knowledge
@Gamer_with_knowledge 2 жыл бұрын
Superb Man. Thanks a lot , the most simple explanation over the internet. :)
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@ViralShortsOfDuniya
@ViralShortsOfDuniya 2 жыл бұрын
Could you help me how to remove CC? Because when i keep cc as null or empty it takes the e-mail id of the From mail id!
@chisomemmanuel6160
@chisomemmanuel6160 10 ай бұрын
Very Awesome tutorial ❤, thank you very much sir but please what theme do you use in your intellij IDE
@DailyCodeBuffer
@DailyCodeBuffer 10 ай бұрын
Thanks 🙏 Xcode Dark theme
@abhisheknarwal4437
@abhisheknarwal4437 3 жыл бұрын
I am generating a pdf by using iText and tryin to send that as an attachment in the mail but everytim I get a file not found exception, could you please help me with that?
@michas83
@michas83 Жыл бұрын
thx Man :)I have fighted with it 2 days.
@fridrixengels6943
@fridrixengels6943 3 жыл бұрын
Thank you bro. It helped me a lot.
@Fighterfilms1
@Fighterfilms1 2 жыл бұрын
Great tutorial man! Will this allow emails to be sent to anyone or only to other gmail accounts?
@Spider-Man_67
@Spider-Man_67 4 ай бұрын
Thanks bro, maza aagya, bas thoda aur cheezo ko explain kiy karo like technical details.
@cesarbranco1889
@cesarbranco1889 2 жыл бұрын
Can you help? Description: Field mailSender in com.example.saj.email.email.EmailSenderService required a bean of type 'org.springframework.mail.javamail.JavaMailSender' that could not be found. The injection point has the following annotations: - @org.springframework.beans.factory.annotation.Autowired(required=true)
@kumarpoobendra
@kumarpoobendra 2 жыл бұрын
Hi bro, Do you have an idea how to send the attachment with password protected using java spring boot..
@srichaitanya6378
@srichaitanya6378 3 жыл бұрын
Thanks a lot !! how to integrate JSP or thymeleaf to this project
@kirwakelvinkering3122
@kirwakelvinkering3122 Жыл бұрын
Hello daily code ? How do you handle nested Json from the client using @RequestBody ? Like am having a client sending nested Json to the spring boot server ,and am stuck.
@sarulatha7374
@sarulatha7374 2 жыл бұрын
Hi, Could you please make a video abt how to send an email using SES service in AWS using springboot
@mertcomert7893
@mertcomert7893 3 жыл бұрын
Hi How to create xlsx file injected by database and directly add as attachment to email and sending through smtp? Could you show us on video?
@ViralShortsOfDuniya
@ViralShortsOfDuniya 2 жыл бұрын
Use Spring Workbook(apache.poi) concept for xlxs file, once the xlxs file is created attach the file as byteArray
@diegoramos27
@diegoramos27 2 жыл бұрын
How do you handle bounces sir ?
@weixiangng8279
@weixiangng8279 11 ай бұрын
How about for outlook and without authentication?
@vietdungduong4790
@vietdungduong4790 3 жыл бұрын
Authentication failed; nested exception is javax.mail.AuthenticationFailedException: failed to connect, no password specified? help me
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Could you please make sure you have entered credentials correctly and all config is correct 🙏
@carlosalbertomassavanhanej3330
@carlosalbertomassavanhanej3330 3 жыл бұрын
besides what @DailyCodeBuffer said, I would recommend you to be sure that you are using the app password instead of your email password
@axelltejada6265
@axelltejada6265 3 жыл бұрын
Excellent video bro, it helped me a lot
@bilaldekar2560
@bilaldekar2560 3 жыл бұрын
thanks you for the video, how can i use this behind proxy?
@pulakbordoloi4918
@pulakbordoloi4918 2 жыл бұрын
It was nice video sir ,but i am encountering an error ,the service is not appearing in eureka but it is succesfully sending the mail,what can be issue sir?
@anupjuly
@anupjuly 2 жыл бұрын
the modern mail service providers offer encrypted alternatives on different ports that use SSL/TLS to encrypt all the data being sent over the wire or to upgrade an existing unencrypted connection to SSL/TLS. Plz upload/refer the video if you have.
@ranjeevtiwari6976
@ranjeevtiwari6976 2 жыл бұрын
Thanks for this application. Can you please also help to understand how you can pass an html template in body instead of passing simple textmessage.
@pranoydas9654
@pranoydas9654 Жыл бұрын
For outlook , how can you configure?
@abitham8175
@abitham8175 Жыл бұрын
how to store this email in database with attachment and retrieve the email and send it via email???
@sankalparora9374
@sankalparora9374 Жыл бұрын
How did you Autowired JavaMailSender without having it's been anywhere in the project. My INtelliJ throws error for that.
@DailyCodeBuffer
@DailyCodeBuffer Жыл бұрын
What exact error are you getting?
@sankalparora9374
@sankalparora9374 Жыл бұрын
​@@DailyCodeBuffer IntelliJ was showing error - but when I built, it worked. Now, the question is who is creating the bean... Spring boot or any component of it ?
@tareeqazeez7344
@tareeqazeez7344 Жыл бұрын
Hi, I am facing this below exception , how can i resolve it ? 530 5.7.0 Must issue a STARTTLS command first. be11-20020a170902aa0b00b001b06c106844sm18078646plb.151 - gsmtp
@svalyavasvalyava9867
@svalyavasvalyava9867 Жыл бұрын
awesome tutorial, thank you 😊
@DailyCodeBuffer
@DailyCodeBuffer 11 ай бұрын
Glad it was helpful!
@babyscookbook2751
@babyscookbook2751 2 жыл бұрын
How to send email using apache kafka...? Please reply
@AnkitKumar-wk1ux
@AnkitKumar-wk1ux 3 жыл бұрын
hello, i'm getting this "java.nio.file.InvalidPathException: Trailing char < > at index 16: E:\\emailsent.gif" error while sending mail with attachment.
@ainigma100
@ainigma100 3 жыл бұрын
Thank you for your video! Assume that we have the following case: We want to send an email with a PDF attachment without having the PDF stored locally. For instance, we query the database table "EMPLOYEE" and we want the results to be saved in a PDF and then attach this PDF to the email. Keep in mind that we do not want to create the PDF file locally because the server might not allow the web service to create files locally. Maybe, we will have to attach multiple files as well. Is this possible?
@RutgerOlthuis
@RutgerOlthuis 3 жыл бұрын
I doubt that's even possible. You need some temp folder where you can store the PDF.
@sujeetpalei5098
@sujeetpalei5098 2 жыл бұрын
Did you find any solution to this
@ainigma100
@ainigma100 2 жыл бұрын
@@sujeetpalei5098 Not really. I had to save the file in the tmp folder of the server. After I send the email, I delete the PDF from the tmp folder
@sujeetpalei5098
@sujeetpalei5098 2 жыл бұрын
@@ainigma100 do you have any reference code?
@ainigma100
@ainigma100 2 жыл бұрын
@@sujeetpalei5098 To tell you the truth at the moment I do not have it. Whenever I find time, I will post here. Keep in mind that I cannot post the whole code …
@ismailarifm5041
@ismailarifm5041 3 жыл бұрын
It's simple and straight to the point ! Please make more videos like this. I smashed the red button :-D
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Thank you so much
@mithatakbulut6490
@mithatakbulut6490 3 жыл бұрын
You saved my day bro. thanks
@ariagaluhp
@ariagaluhp 2 жыл бұрын
Nice video sir! Is there any more similar tutorial where we can send validation of user register via email with REST API ?
@chaithanyakarkera154
@chaithanyakarkera154 Жыл бұрын
Nicely explained 👏
@carlosalbertomassavanhanej3330
@carlosalbertomassavanhanej3330 3 жыл бұрын
Congrats nice and explicative video!!! Keep doing.
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Thank you
@AshutoshKumar-jn2zz
@AshutoshKumar-jn2zz 2 жыл бұрын
Sending mail From Outlook what changes we need to do?
@sakillaskar7632
@sakillaskar7632 2 жыл бұрын
Why ur channel is underrated 😭?
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
🙏🏻
@albertonengues6046
@albertonengues6046 2 жыл бұрын
HI i using spring webflux but i have this problem: Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
@dogranmol
@dogranmol 2 жыл бұрын
is there a limit on how many free mails you can send
@YoutuberMaskarado
@YoutuberMaskarado 3 жыл бұрын
Awesome! Clear and the most importantly... fast. Do you know how to make body html templates also? The package structure and everything else?
@Bimal_Behera
@Bimal_Behera 3 жыл бұрын
You can use thymeleaf engine to do so, and I don't get what do you mean by package structure.
@YoutuberMaskarado
@YoutuberMaskarado 3 жыл бұрын
@@Bimal_Behera thank you, I managed to do it with freemarker. About the package structure what I want to say is: What is the best folder structure in Eclipse to do it. What I did: I put the templates on resource/template, and the Mail class on src/utility, and I don't know if it is the best choice for that.
@ayeshaazmiprity3762
@ayeshaazmiprity3762 3 жыл бұрын
How can I read a . eml which saved in my desktop ?
@garikinarajesh1999
@garikinarajesh1999 Жыл бұрын
I'm getting error like "Required Application specific password" ?
@bharathirv8479
@bharathirv8479 3 жыл бұрын
Great explanation, however gmail mail server is using tls protocol so we can use tls config and can able to trigger mail fro springboot apps, but some other provider like godaddy is using ssl encryption for their smtp servers for that how can we trigger, i searched lot but none of the resources available with solution. Can you able to provide if there is any way.
@simon8284
@simon8284 6 ай бұрын
Bro from where did you learnt Spring Projects? What paid courses, articles, yt_playlists, etc... you studied from?
@bharathirv8479
@bharathirv8479 6 ай бұрын
@@simon8284 many yt available bro, daily code buffer, java techie, amigoscode,coding streams,bouli ali etc
@M3M3sG4m3Rs
@M3M3sG4m3Rs 3 жыл бұрын
thanks man you helped me a lot
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Thank you
@robinrajlouis9183
@robinrajlouis9183 2 жыл бұрын
How can send mail to span folder
@vijaykumar-wu9jc
@vijaykumar-wu9jc 3 жыл бұрын
Hi am getting this exception pls help org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted.
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Have you enabled teo factor authentication? If not please add and check again. Hopefully it will resolve
@vijaykumar-wu9jc
@vijaykumar-wu9jc 3 жыл бұрын
@@DailyCodeBuffer thank u for quick response , i fixed it
@srigakolapuatchuthasai5929
@srigakolapuatchuthasai5929 3 жыл бұрын
Nice explan, thanks a lot
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Thank you
@bharathn1720
@bharathn1720 3 жыл бұрын
thanks brother, for letting know this
@vinothinimano6433
@vinothinimano6433 2 жыл бұрын
how to use to send outlook mail in this code
@antonyjees543
@antonyjees543 2 жыл бұрын
Good video 👍 good explanation
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@abhinav9469
@abhinav9469 3 жыл бұрын
Easy and accurate tutorial
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Thank you
@VishalPatel-mi4ui
@VishalPatel-mi4ui 2 жыл бұрын
while creating app password, gmail says "error creating app password" and show nothing else.
@ikeshavgiri
@ikeshavgiri 2 жыл бұрын
How to send email with your actual name instead of email id as your name ?
@teoman436
@teoman436 3 жыл бұрын
Thanks a lot!:)
@javainfinity596
@javainfinity596 3 жыл бұрын
I Love You videos
@juned6076
@juned6076 2 жыл бұрын
Great work
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@oshogarg5215
@oshogarg5215 3 жыл бұрын
Thank you so much brother .
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Thanks
@oshogarg5215
@oshogarg5215 3 жыл бұрын
@@DailyCodeBuffer I want to give you one suggestion
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Tell me
@oshogarg5215
@oshogarg5215 3 жыл бұрын
Please create Spring Boot project videos from basic to advance level projects only using Spring Boot Only just like you created a Simple Email Cliet using Spring Boot .A personsearching for Spring Boot Projects may not be interested in Docker+Spring Boot or AWS+Spring Boot.
@patricio758
@patricio758 3 жыл бұрын
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
@carlosalbertomassavanhanej3330
@carlosalbertomassavanhanej3330 3 жыл бұрын
try to use no ssl port for smtp
@Mersal-tq9lm
@Mersal-tq9lm 2 жыл бұрын
Good one👍
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@vemularasagna2307
@vemularasagna2307 3 жыл бұрын
How to send only sender name without displaying send email address
@theWorldOfIss
@theWorldOfIss Жыл бұрын
How to perform in 2023 🎉
@jax40001
@jax40001 2 жыл бұрын
How to send email via outlook
@sumantasamal6761
@sumantasamal6761 3 жыл бұрын
Nice video..
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Thank you
@shubhambhatt329
@shubhambhatt329 Жыл бұрын
Thnks man
@DailyCodeBuffer
@DailyCodeBuffer 11 ай бұрын
Welcome
@sujithg5873
@sujithg5873 3 жыл бұрын
Bro it useful
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Thank you
@start1learn-n171
@start1learn-n171 3 ай бұрын
Tq
@21dsbannachouhan
@21dsbannachouhan 10 ай бұрын
moj kar di ✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨
@DailyCodeBuffer
@DailyCodeBuffer 10 ай бұрын
🙏🙏
@simon8284
@simon8284 6 ай бұрын
Bhai code explain krna tha, akele classes ke names padh ke code nahi krna tha...
@bars1628
@bars1628 2 жыл бұрын
okey
@harishbabu1920
@harishbabu1920 2 жыл бұрын
Simple and Amazing ....Thanks a lot @Daily Code Buffer💌
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻 ❤️
Spring Transactions Tutorial | Spring Boot - Daily Code Buffer
20:35
Daily Code Buffer
Рет қаралды 33 М.
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
didn't manage to catch the ball #tiktok
00:19
Анастасия Тарасова
Рет қаралды 32 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 262 #shorts
00:20
Osman Kalyoncu
Рет қаралды 4,5 МЛН
Ozoda - Lada ( Official Music Video 2024 )
06:07
Ozoda
Рет қаралды 31 МЛН
Test Dive Conference 2024 - Tech Stream A | Powered by Nokia
8:24:26
Test Dive Conference
Рет қаралды 894
Sending Email Using the Gmail API And Java
27:27
Sebastian Daschner
Рет қаралды 48 М.
Spring Cloud Functions Tutorial | Spring Boot - Serverless Functions
19:28
Microservices using SpringBoot | Full Example
1:21:39
Daily Code Buffer
Рет қаралды 1 МЛН
Java & Twilio: Send SMS with Spring Boot Effortlessly!
22:51
Fast and Simple Development
Рет қаралды 8 М.
Implementing JWT (JSON Web Tokens) with Spring Security in Springboot App
36:25
Send Email Using Spring Boot | Gmail SMTP | Java Mail Sender
7:44
Code With Arjun
Рет қаралды 164 М.
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН