Top "Jakarta-mail" questions

A Java API to send and receive emails.

how to ignore server cert error in javamail

when i connect to my imap server using imaps,it failes. can you tell me how to ignore server cert …

java ssl jakarta-mail
How to get the list of available folders in a mail account using JavaMail

I am using JavaMail API to connect to my personal account. I have list of folders (labels) in my Gmail …

java gmail imap jakarta-mail
reading body part of a mime multipart

ok so I use .getcontent and receive javax.mail.internet.MimeMultipart@fd13b5 etc. I know i need something like …

java jakarta-mail mime multipart
Java mail sender's address displayed rather than his name

I am trying to send mail to my friends through my Java Mail application. I am able to do it …

java jakarta-mail
javax.net.ssl.SSLException when sending mail using JavaMail

javax.mail.MessagingException: Exception reading response; nested exception is: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at com.…

java jakarta-mail
JavaMail sending mail attachment from string - encoding UTF-8

My application has to send a textfile, which it first has to generate as a String. The text contains non-ASCII …

java encoding attachment jakarta-mail
JavaMail API to iMail -- java.net.SocketException: Permission denied: connect

I am having trouble getting an application to use the JavaMail API to send out some files in a more …

java jakarta-mail permission-denied socketexception
How do I configure a mail server for use with JavaMail?

I'm trying to work with the below code: import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import javax.…

java email servlets jakarta-mail
Setting the from name in a javax.mail.MimeMessage?

Currently, our application uses a javax.mail to send email, using javax.mail.MailMessage. We set the From headers of …

java email jakarta-mail mime-message
How to configure environment to use JavaMail?

I need to send simple html-message with JavaMail. And when I tried to find some nice examples with explanations in …

java jakarta-mail mail-server