Thanks for this video, I was facing issue regarding mail properties and trying to fix it from last 3days, but with watching your video its quick solved....Thank you so much.....
Wow, this post is a goldmine for Java developers. As someone who's worked with AI-powered systems, I can't help but think how cool it would be to integrate email functionality with intelligent agents. Imagine having AI assistants that could automatically compose and send personalized emails based on complex business logic.
@@roan1435 hey mate i don't remember exactly what caused the problem. But now after checkign the project i can say its pretty easy just make sure you set your configs in yml right here is what i got spring: servlet: multipart: max-file-size: 3MB datasource: url: 'jdbc:mysql://localhost:3306/name' username: root password: 12345678 mail: host: smtp.gmail.com username: email address password: password port: 587 properties: "mail.transport.protocol": smtp "mail.smtp.auth": true "mail.smtp.starttls.enable": true
Dear Sir, I have a doubt regarding the tutorial I followed. Despite following it carefully, I encountered an error message stating "unable to find valid certification path to requested target" and "unable to find valid certification path to requested target; message exceptions (1) are: Failed message 1: jakarta.mail.MessagingException: Could not convert socket to TLS." I believe the issue may be related to the configuration of my certificate. Could you please provide a tutorial on how to configure the certificate? Thank you.
Do you have a video on how to send an email with spring that contains information from a java application. For example I want to send an email with Github updates to projects
Hi, I have a problem with the tutorial. When I try to autowire the mailSender i get a error which says: "Could not autowire. No beans of 'JavaMailSender' type found.". Do you know how i can maybe fix this. It would be very nice because I need this for a university project. Thank you
Hi , I didn't understand why we are setting app passwords? By providing that what's the use to sender and receiver? Plz give me clarity on this. Thanks in advance.
It’s so that you don’t have to put your actual password to sign into your account into ur code and also ensures that you don’t get flagged by google as a bot because they know you are a bot and that that boy is supposed to be in your account
I tried this and this works, but I created 2 test emails to see if this works. But the next day when I tried to login to the test email it shows "Your account has been disabled. It looks like this account has been created or used with multiple other accounts to violate Google's Policies. This account might have been created by a computer program or bot." Does anyone know why this happens? and how is this violating Google's policies and is there any fix to this?
Hello I am learning your Send Email Using Spring Boot I am getting few error can you please help me> public void triggerMail() throws MessagingException {
Nice video.! But My App doesn't send an email. But in mockMvc Test, it works using same method(to send email) . I don't know why.. (3am now..) . If someone know about this situatioin, plz reply....(working in Test app, but not working Spring boot app)
No words to explain the simplest way of your explanation bro. Cheers!
please bro I dont find the apps passowrd can you help?
After a week of trying, your video had the right hint, thank you
Glad it helped!
Thanks for this video, I was facing issue regarding mail properties and trying to fix it from last 3days, but with watching your video its quick solved....Thank you so much.....
Ive been craving for this type of tutorial! Thanks a lot!!!
Excellent video. Great explanation from start to finish.
Wow, this post is a goldmine for Java developers. As someone who's worked with AI-powered systems, I can't help but think how cool it would be to integrate email functionality with intelligent agents. Imagine having AI assistants that could automatically compose and send personalized emails based on complex business logic.
Best short video... Too the point and just great
Spring Boot just makes it so easy, and you make it much easier to understand. Thank you so much
Happy to hear that!
Is this code is working now
I have searched so many codes but unable to get email authentication
Is your code works fine?
@@vamsivickey6185 Hey, I just tested the code and it sends the mail successfully
@@trolloosoomgf527 I am not getting option for app password
Thank you so much !!! This video is far beyond great, it's concise, straight to the main point, precise and nicely organized ! Thanks for the gem sir
I love the way he pronounce java and generate😂😂
Awesome Finally I'm able to do basic email service
Ekdam ramro content bro, ajhai dherai video haru aaos good luck!!
Sure. Keep supporting.
Thanks a lot, you saved me. I have been stuck into a problem, it worked now
perfect explanation, thank you so much for simplicity and clearance
Thanks buddy you save my day with this tutorial 🤗
thanks at first it didnt work but then i found its because of properties in yml. It worked in the end.Thanks for exlanation
Glad it helped ! Be sure to subscribe.
@@CodeWithArjun done
Hey man its not working for me to.. Do you mind sharing because of which property in XML...
@@roan1435 hey mate i don't remember exactly what caused the problem. But now after checkign the project i can say its pretty easy just make sure you set your configs in yml right
here is what i got
spring:
servlet:
multipart:
max-file-size: 3MB
datasource:
url: 'jdbc:mysql://localhost:3306/name'
username: root
password: 12345678
mail:
host: smtp.gmail.com
username: email address
password: password
port: 587
properties:
"mail.transport.protocol": smtp
"mail.smtp.auth": true
"mail.smtp.starttls.enable": true
SAVED ME!!! TKS MAN, UR THE BEST
Dope video on Springboot and Java!
Glad it was helpful. Be sure to subscribe.
Really good job!!!
Thank you .....my issue fixed because of this video...do more videos
Glad it helped ! Be sure to subscribe.
Thank you bro. It's very useful. Instead of setting up node js backend server, it's a very easy method using spring boot.
Glad it helped
amazing video, congratulations and thnks
You are AMAZING !!! thank you very much it worked !!!
Finally found some fast&easy tutorial. Thank you!
You're welcome!
Great explanation , thanks ...
hello from turkey :)
Thanks for watching!
awesome. Thanks for the wonderful explanation, its very helpful.
You are welcome!
This is gold. Thank you.
You're very welcome!
Great!! Excellent just what i was looking for. Thank you a lot.
Glad it helped! Be sure to subscribe.
Thank you for the tutorial working perfectly...
Thank you. Great job
Excellent, keep up the good work
Thanks, will do! Be sure to subscribe.
Thanks so much! I'm going to use it on my school project :)
You're welcome 😊 Be sure to subscribe.
Works like a charm
I can't find the app password section
Great video. Really helpfull
Glad it was helpful!
easy, fast, very good, thank you for sharing!
Glad to hear that, Be sure to subscribe.
Thanks! Worked perfectly!
You're welcome!
Great video, thank you 🙏
Glad you enjoyed it!
Thanks a lot, great help! It actually worked perfectly :)
Glad it helped!
Thank you so much! I can follow your work and it really save my time.
Glad to hear that!
thanks man that was helpful!!
2:01 where i can find this details for other mails than google ?
Thanks bro, really helped
you re the man
OMG Thanks bro) So es
does this have dependency added to your project structure sir? and how to add that to a existing project
You saved my time. Thank you!
You're welcome!
Great work.
Thank you! Cheers! Be sure to subscribe.
Excellent!
Thank you! Cheers!
Thank you for the explanation.
Once I deployed an app implementing the same mailing logic on AWS the service stop functioning can you help me ?
did you get the reason?
Subbed, tysm!
Dear Sir,
I have a doubt regarding the tutorial I followed. Despite following it carefully, I encountered an error message stating "unable to find valid certification path to requested target" and "unable to find valid certification path to requested target; message exceptions (1) are: Failed message 1: jakarta.mail.MessagingException: Could not convert socket to TLS." I believe the issue may be related to the configuration of my certificate. Could you please provide a tutorial on how to configure the certificate?
Thank you.
I got same issue
you got ans @@dineshmk8817
Can i add dependency after initialize the project?
Do you have a video on how to send an email with spring that contains information from a java application. For example I want to send an email with
Github updates to projects
what if we want to add a customised body, like I need to add a dynamically generated table in the body of the email.
Hi man! Is this production ready? Can I post the app like this to aws and the emails will get properly delivered?
class file for javax.mail.internet.MimeMessage not found do u know how to fix this?
Can i use it on prod? What are a Gmail SMTP limits?
great video, thank you
Glad you liked it!
Everything works fine in my localhost, but when I configured in my live server it sending mail after 1 to 2 (too slow)minutes. kindly Help🙏🏻
Bro what if the mail is not correct how to know if the email is valid or not. (Not regex)
Hi, I have a problem with the tutorial. When I try to autowire the mailSender i get a error which says: "Could not autowire. No beans of 'JavaMailSender' type found.". Do you know how i can maybe fix this. It would be very nice because I need this for a university project. Thank you
Use the 1.6.7 Version of the jakarta.mail dependency, this fixed the Issue for me
@@philgrauenkopp5640 Where can you do that :/?
@@philgrauenkopp5640 Good video
Also i want to know how to design with colors and borders an email when sending it
I will research on that and try to make video.
Hi , I didn't understand why we are setting app passwords? By providing that what's the use to sender and receiver? Plz give me clarity on this.
Thanks in advance.
It’s so that you don’t have to put your actual password to sign into your account into ur code and also ensures that you don’t get flagged by google as a bot because they know you are a bot and that that boy is supposed to be in your account
No app password setting in google security account. Anybody find solution?
Yes,search it as App password
@@VGJjkrge thanks man. you are a life saver
very useful!
Thanks a bunch!!!
Very simple, many thanks. But does this still correspond to 2024 sir?
Yes it does
Keep up with such perfect tutorial!!!
Glad you liked it, Be sure to subscribe.
hi, can someone help, i cant find app passwords in my account settings anymore
Thank you so much
Nice!
Super class
Thank you
can i run the project in the eclipse ide?
Yes you can.
Thanks brother : )
you saved me !!!!!!!!
Thank you so much.
wonderful
and if we want multiple users to send email ?
Can multiple send gmail ??
You can.
@@CodeWithArjun How can we scale the application for 400K+ user?
Hi for me the app password option is not coming ??
i have this error
unable to find valid certification path to requested target
BEST
thank you very much
I tried this and this works, but I created 2 test emails to see if this works. But the next day when I tried to login to the test email it shows "Your account has been disabled. It looks like this account has been created or used with multiple other accounts to violate Google's Policies. This account might have been created by a computer program or bot." Does anyone know why this happens? and how is this violating Google's policies and is there any fix to this?
When I listen to you... I remember.. " Hello.. Brother.. Idharrrrr. " 😂😂😂😂
thanks for sharing
if we need to add logo or favicon then how? plz show me
How do I do when the user is gonna entry the email in the front(angular)?
you can make and end point in your backend that receive the user data and later send the email...
I got error message: "unable to find valid certification path to requested target". Can you help me?
disable antivirus
@@ikirstenHD thank you so much!
Can u make for us another video wich i can send an email with an attachement with is like a pdf
Next video will be on that be sure to subscribe.
Hello I am learning your Send Email Using Spring Boot I am getting few error can you please help me> public void triggerMail() throws MessagingException {
does it work with java8?
yes. definitely. Don't forget to subscribe.
Thank you
Welcome!
3:00 bade bhai hamare gmail me toh yeh option hi nahi hai app password kaa
i am getting this error
Local address contains control or whitespace
Thanks!
How can we send email for multiple users???
thanks brooo
Please make a video on how to send email without using password
hi, why we are app passwords setting
Nice video.! But My App doesn't send an email. But in mockMvc Test, it works using same method(to send email) . I don't know why.. (3am now..) .
If someone know about this situatioin, plz reply....(working in Test app, but not working Spring boot app)