Top "Jakarta-mail" questions

A Java API to send and receive emails.

Java Mail: Session

Below the code used to connect and perform operations on an IMAP Folder. So my question is about the javax.…

java email imap jakarta-mail
class file for javax.mail.internet.MimeMessage not found

I am getting following error while building my project. City\controller\MyMailHelper.java:59: cannot access javax.mail.internet.MimeMessage class …

spring maven jakarta-mail
Using javamail, gmail refusing authentication due to application being less secure

I am running a very basic Javamail program to try sending emails. This is stand-alone program with main(). Once I …

java security jakarta-mail
How to Sign Javamail with DKIM

Is there a library or a way to do this without an external library? I am using apache james as …

java email jakarta-mail dkim james
How do I properly setup javamail to use STARTTLS?

When setting up my session I am setting the starttls.enable and .required properties but when the connection happens it …

java smtp jakarta-mail starttls
Why do i get this exception?

This method gives the number of emails in the inbox.But it gives me this exception : javax.mail.MessagingException: Connect …

java jakarta-mail pop3 gmail-pop
javax.mail.MessagingException: Connection reset while trying to access gmail using java mail API

I was trying to read through the mails in my gmail account using java mail API. This is the code: …

jakarta-mail connection-reset
Javamail api in android using XOauth

I need to send an email through my app using say the javamail API (any other mailing service if available …

android oauth-2.0 jakarta-mail
Javamail, Transport.send() very slow

I have written a method for sending emails in bulk but it is very very slow (around 3 mails every 10 seconds). …

java jakarta-mail bulk mass-emails
Read text file of Email convert to Javamail MimeMessage

I have a text file of the original source of an email(just straight copied from gmail if you click …

java jakarta-mail mime-message