Sending Email Using the Gmail API And Java

Sending Email Using the Gmail API And Java

Sebastian Daschner

1 год назад

44,104 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Бойко Божинов
Бойко Божинов - 19.10.2023 17:29

Absolutely great.Thank you for the video !

Ответить
Elias Pfeffer
Elias Pfeffer - 05.10.2023 21:28

how the fuck can someone tipe so fast? Im a fast typer but this guy is nuts, mad respect

Ответить
Gezira United Fruits Vegetables
Gezira United Fruits Vegetables - 06.09.2023 18:05

can you tell me gmail api limitation
how many emails i can send

Ответить
Jalen
Jalen - 25.08.2023 16:56

Hey,
I am getting this error "Exception in thread "main" java.lang.NullPointerException
at java.base/java.io.Reader.<init>(Reader.java:168)
at java.base/java.io.InputStreamReader.<init>(InputStreamReader.java:76)"
Can you please help me?

Ответить
Tal Dulberg
Tal Dulberg - 11.07.2023 21:17

Great video thank you so much!

Ответить
test test
test test - 05.07.2023 22:49

Very good video, is there something that is not clear to me when I send an email using an API, it is not done through an SMTP server? How would it be sent in that case?

Ответить
Udula Indunil
Udula Indunil - 23.06.2023 14:54

Thank you very much. Save my day

Ответить
TimoDJatomika
TimoDJatomika - 21.05.2023 14:07

Hello, as you said in the video you store the credentials in a directory "tokens". In this directory there is a crypted file which stores the credentials. Is there another way to store credentials or parse credentials to the application. I already have an access token and a refresh token that I would like to use.

Ответить
Zebsy
Zebsy - 12.05.2023 23:39

Not easy, is it!

Ответить
Hasna Sarikom
Hasna Sarikom - 12.05.2023 23:26

can i connect with you for jobs give me your telegram

Ответить
Nipun Dhananjaya - 65
Nipun Dhananjaya - 65 - 27.04.2023 13:01

Thank you very much bro!!!

Ответить
Vidhi Patel
Vidhi Patel - 09.04.2023 22:34

I'm using the code for the Android app but getting a runtime error. can you help me?

Ответить
majaharul islam
majaharul islam - 03.04.2023 22:20

Hi can you send your mail id. I need to help some things

Ответить
Prathish K V
Prathish K V - 08.02.2023 10:03

how to change the sender gmail? It is defautly taking my gmail.

Ответить
Gabriel Reis
Gabriel Reis - 31.01.2023 14:44

Thank you for that !! Amzing !

Ответить
Alexander Gritsok
Alexander Gritsok - 23.01.2023 14:14

I still have a question that I couldn't solve myself: how to use queries to get email with a specific header?
E.g. I need one email with needed for me X-custom-header, but I couldn't make it work like:

service.users().messages().list(ME).setQ("X-custom-header:someInt");

Ответить
Just Emre
Just Emre - 19.01.2023 16:34

What are the differences between using Gmail api as u did and the sending via smtp ?
If there is any benefit can you explain them.
Thank you, Emre

Ответить
Emir Agović
Emir Agović - 05.01.2023 21:15

Can you use this code to send email to someone else or just yourself?

Ответить
selim sezer
selim sezer - 23.12.2022 16:12

How can i send HTML template

Ответить
Radu Gusanu
Radu Gusanu - 20.12.2022 01:20

Can you help me with this please ?

Exception in thread "main" java.lang.NullPointerException
at java.base/java.io.Reader.<init>(Reader.java:168)
at java.base/java.io.InputStreamReader.<init>(InputStreamReader.java:76)
at com.cydeo.GMailer.getCredentials(GMailer.java:55)
at com.cydeo.GMailer.<init>(GMailer.java:45)
at com.cydeo.GMailer.main(GMailer.java:107)

Ответить
TH
TH - 12.12.2022 21:23

Does this work in an android app?

Ответить
Odeti Reddi Pavan
Odeti Reddi Pavan - 07.12.2022 14:34

In java 8 how to use set.of(GMAIL_SEND) scope?

Ответить
Odeti Reddi Pavan
Odeti Reddi Pavan - 06.12.2022 16:37

I didn't understand how did you resolve those errors because when I was trying ALT+Enter it asking so many other options instead import packages and in those options import packages option is not there. Please help me here to get it done

Ответить
neny002
neny002 - 25.11.2022 15:00

How to make it work for production? I get problem with Receiver. In google cloud project i have set redirect uri as app url, but local receiver has host as localhost, and i get error missmatch. But, if i match host same as redirect uri, i get error on backend that host cannot be set. So i dont know what to do.

Ответить
Bekuo
Bekuo - 25.11.2022 01:44

Thank you so much, Google Cloud Documentation is a pain in the ass

Ответить
Eduardo Valencia
Eduardo Valencia - 20.11.2022 07:21

excelente video fue de mucha ayuda

Ответить
Tarush Dey
Tarush Dey - 05.11.2022 19:28

what about java with ant

Ответить
Tarush Dey
Tarush Dey - 05.11.2022 19:23

i need help

Ответить