Top "Jakarta-mail" questions

A Java API to send and receive emails.

JavaMail store.connect() times out - Can't read gmail Inbox through Java

I am trying to connect to my gmail inbox to read messages through Java Application. I am using.. jdk1.6.0_13 javamail-1.4.3 …

timeout imap jakarta-mail inbox
Threadsafety in Javamail

I'm researching whether Javamail is threadsafe, in particular in a situation with many sessions corresponding to different users, several SMTP …

java multithreading smtp jakarta-mail
Java Mail: Getting Bounced Messages To Go To An Address Different From The Sender

I'm trying to get Java mail to send bounced email to a different address than the sender's address and not …

jakarta-mail bounce
Using Thread with Vaadin?

I'm trying to use Thread in my project to send emails. When I click on a Button, a Thread is …

java multithreading progress-bar jakarta-mail vaadin7
Printing out the email address of sender from InternetAddress

This is the code that fetches up the sender and the subject of email.With this code i see the …

java gmail jakarta-mail gmail-imap
javamail returning smtp as transport, instead of smtps

I set the mail.transport property to smtps, beside the very basic information for connecting to a smtps server: Properties …

java jakarta-mail smtps
Java mail charset ISO-8859-2 not working

I am having problem with Java Mail API. I can successfully send mail, but some special characters (from ISO-8859-2 …

java internationalization jakarta-mail iso-8859-2
Javamail IMAP connection with Gmail drops after a random duration

I'm using Javamail to authenticate into gmail imap server and fetch messages headers for complete mailbox one at a time …

java connection gmail jakarta-mail gmail-imap
@SpringBootTest does not autowire JavaMailSender and throws error

What am I doing wrong here? My understanding is Spring should autowire JavaMailSender the way its autowiring EventRepository. Any guidance? …

spring-boot jakarta-mail spring-boot-test
Unrecognized SSL message while sending mail from localhost using STARTTLS

I am currently investigating James Mail Server and have an instance running on my local machine. I am trying to …

localhost jakarta-mail james starttls