Video není dostupné.
Omlouváme se.
How To Send Email From Gmail With Java (using Jakarta Mail/formerly JavaMail)
Vložit
- čas přidán 27. 07. 2024
- In this video you will learn how to send email from Gmail using Java programming language with new Jakarta Mail library, which was formerly known as JavaMail.
Link to Java project:
github.com/BornToGeek1/youtub...
Timeline:
0:00 Intro
0:44 Creating Gmail app password
1:37 Sending email
2:05 Code explanation
If you would like to support my channel, you can buy me a coffee:
buymeacoffee.com/borntogeek
Hi, great video. Maybe do you know how to read messages on email with Jakarta api?
Thank you very much for your comment :)
I have prepared a new Java class for you for reading emails from Gmail, so please check out this code:
github.com/BornToGeek1/youtube/blob/master/java/gmail-reader/src/main/java/com/borntogeek/gmail_reader/GmailReader.java
You will probably encounter some errors, because a few more settings need to be set on Gmail account before reading, but I will explain all this in the next video so please stay tuned ;)
EDIT: New video is uploaded :) Check it out here:
czcams.com/video/QVPo5S1f-jo/video.html
God bless you!
You've helped me so much.
You are more than welcome :)
I would also like to thank YOU for making the first comment on my channel. It really means a world to me.
God bless you too!
You didn't tell about the dependencies that should be added
Hello @anassohail6576. Thank you very much for your comment.
I mentioned the dependencies at 0:20 in the pom.xml file (Maven project).
So if you take a look at that time you will see that dependency for angus-mail was added.
Does this answer you question?