How To Read Emails From Gmail With Java (using Jakarta Mail/formerly JavaMail)

  Рет қаралды 173

Born To Geek

Born To Geek

Күн бұрын

In this video you will learn how to read emails 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:10 Project setup (Maven)
0:49 Creating app password
1:45 Running program
2:00 Enabling IMAP access
2:42 Code explanation
If you would like to support my channel, you can buy me a coffee:
buymeacoffee.com/borntogeek

Пікірлер: 7
@darshankulkarni2716
@darshankulkarni2716 Ай бұрын
thank you very much
@BornToGeek
@BornToGeek Ай бұрын
You are more than welcome! :)
@leminhos8142
@leminhos8142 3 ай бұрын
THANK YOU SO MUCH
@BornToGeek
@BornToGeek 3 ай бұрын
You are more than welcome! ;)
@leminhos8142
@leminhos8142 2 ай бұрын
You know how can i put a webhook in my gmail? I want to send a request to my backend when i receive a new email. If you know some external service that could do that
@BornToGeek
@BornToGeek 2 ай бұрын
Hello. I have checked this and it seems like the best way to do this is by using the Push Notifications together with Gmail API, both offered by Google itself. So I suggest you to follow this guide here, where it explains each step on how to implement this: developers.google.com/gmail/api/guides/push Also there is a guide for using Gmail API with Java: developers.google.com/gmail/api/quickstart/java I really hope that this helps.
@leminhos8142
@leminhos8142 2 ай бұрын
@@BornToGeek Thank you sooo much again!
How To Use Constructors In Java
5:44
Born To Geek
Рет қаралды 11
What's going on with Windows Laptops?
10:30
Marques Brownlee
Рет қаралды 2,6 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 7 МЛН
Why Agent Frameworks Will Fail (and what to use instead)
19:21
Dave Ebbelaar
Рет қаралды 35 М.
Sending Email Using the Gmail API And Java
27:27
Sebastian Daschner
Рет қаралды 44 М.
#1: Spring MVC project configuration Java tutorial
10:28
Gaurav Patil
Рет қаралды 157
How To Read/Write Text Files In Java NIO | Full Guide
9:14
Born To Geek
Рет қаралды 60
Pydantic Tutorial • Solving Python's Biggest Problem
11:07
pixegami
Рет қаралды 256 М.
Read Gmail Through Gmail API Using Java
12:14
Automation With Diksham
Рет қаралды 147
You are using useFetch WRONG! (I hope you don't)
11:14
Alexander Lichter
Рет қаралды 24 М.
LangGraph Studio: The first agent IDE
8:43
LangChain
Рет қаралды 43 М.
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
MrBeast
Рет қаралды 101 МЛН
Черёмуха во рту вяжет
0:11
Pavlov_family_
Рет қаралды 1,3 МЛН
Ăn trái gì thế/kỳ kỳ tv & Family #shorts
0:13
Kỳ kỳ tv & Family
Рет қаралды 15 МЛН
Amazing tools #shorts
0:35
SA VA
Рет қаралды 10 МЛН
The poor girl couldn't take care of the cat 😢😔
0:38
Ben Meryem
Рет қаралды 15 МЛН