No video

Send Email from Spring Boot Application

  Рет қаралды 69,562

Daily Code Buffer

Daily Code Buffer

3 жыл бұрын

In this video, you will learn to send an email from a Gmail account using a Java and Spring Boot framework.
GitHub Link: bit.ly/3pjXOEA
Other Video:
-----------------------------------------------------------------------
Docker VS Kubernetes VS Docker Swarm - • Docker VS Kubernetes V...
Docker Compose Tutorial with commands and Example - • Docker Compose Tutoria...
How to Install Docker in Window 10 - • How to Install Docker ...
Docker Tutorial - Most used Docker Commands With Examples | Docker Training | Daily Code Buffer - • Docker Tutorial - Most...
How to install Kafka using Docker & Docker Compose in any Operating System | Windows | MacOS | Linux - • How to install Kafka u...
How to Deploy Quarkus App in Docker - • How to Deploy Quarkus ...
How to implement Logging in SPRING BOOT - • How to implement Loggi...
How to Push and Pull a Docker Image from Docker Hub - • How to Push and Pull a...
Create Docker Image without Dockerfile in Spring Boot - • Create Docker Image wi...
Follow us on :
--------------------------------------------------------
Website: www.dailycodebuffer.com/
Facebook: / dailycodebuffer
Twitter: / dailycodebuffer
Instagram: / dailycodebuffer
GitHub: github.com/dailycodebuffer
My Laptop :
------------------------------------------------------
ASUS ROG Zephyrus G14, 14" - amzn.to/3tMb1I6
ASUS ROG Zephyrus G14, 14" (US) - amzn.to/3xa6X6m
Audio Gear :
------------------------------------------------------
Maono AU-A04 Condenser Microphone : amzn.to/32FOpwI
Maono AU-A04 Condenser Microphone (US) :amzn.to/3awzUj7
Secondary Audio :
------------------------------------------------------
Maono AU-100 Condenser Clip On Lavalier Microphone : amzn.to/3sGIbYd
Recommended Books:
------------------------------------------------------
Mastering Spring Boot 2.0 (Kindle): amzn.to/3tHJV4L
Mastering Spring Boot 2.0 (US) : amzn.to/3tHNUy5
Building Microservices(Kindle) : amzn.to/3gsA1jL
Building Microservices(US) : amzn.to/3dDnfNn
Spring Boot in Action : amzn.to/2Qo6YTM
Spring Boot in Action (US) : amzn.to/32DkeX9
Spring Microservices in Action : amzn.to/3gsA3rT
Spring Microservices in Action(US): amzn.to/32G3Hl7
Music:
-------------------------------------------------------
Hear the Noise (Sting): kzfaq.info...
“Sound effects obtained from www.zapsplat.com“
#Email #SpringBoot #DailyCodeBuffer

Пікірлер: 132
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Follow me on Twitter: twitter.com/DailyCodeBuffer
@mostafadaneshvar3146
@mostafadaneshvar3146 Жыл бұрын
i dont know why when i watch your video my problems solved in less than 15 minutes!!thanks daily code
@kirane5911
@kirane5911 2 жыл бұрын
Thank you so much Brother for explaining well about this project
@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 🙂
@bharathn1720
@bharathn1720 3 жыл бұрын
thanks brother, for letting know this
@fridrixengels6943
@fridrixengels6943 2 жыл бұрын
Thank you bro. It helped me a lot.
@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
@mithatakbulut6490
@mithatakbulut6490 3 жыл бұрын
You saved my day bro. thanks
@axelltejada6265
@axelltejada6265 2 жыл бұрын
Excellent video bro, it helped me a lot
@funcoding1797
@funcoding1797 2 жыл бұрын
Your knowledge and mastery as well as your teaching method are excellent. God bless you.
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏
@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
@chaithanyakarkera154
@chaithanyakarkera154 Жыл бұрын
Nicely explained 👏
@teoman436
@teoman436 3 жыл бұрын
Thanks a lot!:)
@michas83
@michas83 11 ай бұрын
thx Man :)I have fighted with it 2 days.
@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?
@M3M3sG4m3Rs
@M3M3sG4m3Rs 3 жыл бұрын
thanks man you helped me a lot
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Thank you
@carlosalbertomassavanhanej3330
@carlosalbertomassavanhanej3330 3 жыл бұрын
Congrats nice and explicative video!!! Keep doing.
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Thank you
@svalyavasvalyava9867
@svalyavasvalyava9867 10 ай бұрын
awesome tutorial, thank you 😊
@DailyCodeBuffer
@DailyCodeBuffer 9 ай бұрын
Glad it was helpful!
@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 😊
@Gamer_with_knowledge
@Gamer_with_knowledge 2 жыл бұрын
Superb Man. Thanks a lot , the most simple explanation over the internet. :)
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@Fighterfilms1
@Fighterfilms1 2 жыл бұрын
Great tutorial man! Will this allow emails to be sent to anyone or only to other gmail accounts?
@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
@srichaitanya6378
@srichaitanya6378 3 жыл бұрын
Thanks a lot !! how to integrate JSP or thymeleaf to this project
@srigakolapuatchuthasai5929
@srigakolapuatchuthasai5929 3 жыл бұрын
Nice explan, thanks a lot
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Thank you
@bilaldekar2560
@bilaldekar2560 2 жыл бұрын
thanks you for the video, how can i use this behind proxy?
@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 ?.
@javainfinity596
@javainfinity596 3 жыл бұрын
I Love You videos
@abhinav9469
@abhinav9469 3 жыл бұрын
Easy and accurate tutorial
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Thank you
@sarulatha7374
@sarulatha7374 2 жыл бұрын
Hi, Could you please make a video abt how to send an email using SES service in AWS using springboot
@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 ?
@juned6076
@juned6076 2 жыл бұрын
Great work
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@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.
@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!
@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.
@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?
@kumarpoobendra
@kumarpoobendra 2 жыл бұрын
Hi bro, Do you have an idea how to send the attachment with password protected using java spring boot..
@pranoydas9654
@pranoydas9654 Жыл бұрын
For outlook , how can you configure?
@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
@weixiangng8279
@weixiangng8279 8 ай бұрын
How about for outlook and without authentication?
@AshutoshKumar-jn2zz
@AshutoshKumar-jn2zz 2 жыл бұрын
Sending mail From Outlook what changes we need to do?
@diegoramos27
@diegoramos27 2 жыл бұрын
How do you handle bounces sir ?
@antonyjees543
@antonyjees543 2 жыл бұрын
Good video 👍 good explanation
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@-Altera-
@-Altera- 10 ай бұрын
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 :).
@chisomemmanuel6160
@chisomemmanuel6160 8 ай бұрын
Very Awesome tutorial ❤, thank you very much sir but please what theme do you use in your intellij IDE
@DailyCodeBuffer
@DailyCodeBuffer 8 ай бұрын
Thanks 🙏 Xcode Dark theme
@Mersal-tq9lm
@Mersal-tq9lm 2 жыл бұрын
Good one👍
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@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.
@start1learn-n171
@start1learn-n171 26 күн бұрын
Tq
@shubhambhatt329
@shubhambhatt329 10 ай бұрын
Thnks man
@DailyCodeBuffer
@DailyCodeBuffer 9 ай бұрын
Welcome
@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.
@ayeshaazmiprity3762
@ayeshaazmiprity3762 2 жыл бұрын
How can I read a . eml which saved in my desktop ?
@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.
@naranisrimani7343
@naranisrimani7343 Жыл бұрын
Can we select gradle project and do the same, does it works plss reply I need ur help pls
@robinrajlouis9183
@robinrajlouis9183 2 жыл бұрын
How can send mail to span folder
@vinothinimano6433
@vinothinimano6433 2 жыл бұрын
how to use to send outlook mail in this code
@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.
@babyscookbook2751
@babyscookbook2751 2 жыл бұрын
How to send email using apache kafka...? Please reply
@abitham8175
@abitham8175 Жыл бұрын
how to store this email in database with attachment and retrieve the email and send it via email???
@mertcomert7893
@mertcomert7893 2 жыл бұрын
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
@dogranmol
@dogranmol 2 жыл бұрын
is there a limit on how many free mails you can send
@Spider-Man_67
@Spider-Man_67 Ай бұрын
Thanks bro, maza aagya, bas thoda aur cheezo ko explain kiy karo like technical details.
@sumantasamal6761
@sumantasamal6761 3 жыл бұрын
Nice video..
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Thank you
@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?
@sujithg5873
@sujithg5873 3 жыл бұрын
Bro it useful
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Thank you
@ikeshavgiri
@ikeshavgiri 2 жыл бұрын
How to send email with your actual name instead of email id as your name ?
@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.
@vemularasagna2307
@vemularasagna2307 3 жыл бұрын
How to send only sender name without displaying send email address
@sakillaskar7632
@sakillaskar7632 Жыл бұрын
Why ur channel is underrated 😭?
@DailyCodeBuffer
@DailyCodeBuffer Жыл бұрын
🙏🏻
@VishalPatel-mi4ui
@VishalPatel-mi4ui 2 жыл бұрын
while creating app password, gmail says "error creating app password" and show nothing else.
@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 4 ай бұрын
Bro from where did you learnt Spring Projects? What paid courses, articles, yt_playlists, etc... you studied from?
@bharathirv8479
@bharathirv8479 4 ай бұрын
@@simon8284 many yt available bro, daily code buffer, java techie, amigoscode,coding streams,bouli ali etc
@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 …
@jax40001
@jax40001 2 жыл бұрын
How to send email via outlook
@21dsbannachouhan
@21dsbannachouhan 8 ай бұрын
moj kar di ✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨
@DailyCodeBuffer
@DailyCodeBuffer 8 ай бұрын
🙏🙏
@garikinarajesh1999
@garikinarajesh1999 Жыл бұрын
I'm getting error like "Required Application specific password" ?
@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
@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
@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 ?
@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
@bars1628
@bars1628 2 жыл бұрын
okey
@theWorldOfIss
@theWorldOfIss 10 ай бұрын
How to perform in 2023 🎉
@simon8284
@simon8284 4 ай бұрын
Bhai code explain krna tha, akele classes ke names padh ke code nahi krna tha...
@harishbabu1920
@harishbabu1920 2 жыл бұрын
Simple and Amazing ....Thanks a lot @Daily Code Buffer💌
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻 ❤️
@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
@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
@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)
Spring Transactions Tutorial | Spring Boot - Daily Code Buffer
20:35
Daily Code Buffer
Рет қаралды 32 М.
Java Spring Boot Email Sender Service Tutorial
23:04
Ivan Jakimovski
Рет қаралды 23 М.
Inside Out Babies (Inside Out Animation)
00:21
FASH
Рет қаралды 23 МЛН
Son ❤️ #shorts by Leisi Show
00:41
Leisi Show
Рет қаралды 8 МЛН
Introduction to Spring AI | Spring Ai Framework
9:25
Daily Code Buffer
Рет қаралды 35 М.
Master Graphql with Spring Boot 🔥🔥
33:57
Daily Code Buffer
Рет қаралды 25 М.
Send Email Using Spring Boot | Gmail SMTP | Java Mail Sender
13:15
Engineering Digest
Рет қаралды 4,7 М.
Java & Twilio: Send SMS with Spring Boot Effortlessly!
22:51
Fast and Simple Development
Рет қаралды 8 М.
Send Email Using Spring Boot | Gmail SMTP | Java Mail Sender
7:44
Code With Arjun
Рет қаралды 155 М.
Inside Out Babies (Inside Out Animation)
00:21
FASH
Рет қаралды 23 МЛН