Top "Jakarta-mail" questions

A Java API to send and receive emails.

Error - trustAnchors parameter must be non-empty

I'm trying to configure my e-mail on Jenkins/Hudson, and I constantly receive the error: java.security.InvalidAlgorithmParameterException: the trustAnchors …

java hudson jakarta-mail jenkins
Sending Email in Android using JavaMail API without using the default/built-in app

I am trying to create a mail sending application in Android. If I use: Intent emailIntent = new Intent(android.content.…

java android email android-intent jakarta-mail
How can I send an email by Java application using GMail, Yahoo, or Hotmail?

Is it possible to send an email from my Java application using a GMail account? I have configured my company …

java email gmail jakarta-mail mail-server
Send Mail to multiple Recipients in java

I want to send a message to multiple Recipients using following the method : message.addRecipient(Message.RecipientType.TO, String arg1); …

java jakarta-mail
How do I send an HTML email?

I have successfully sent email in my web application using JMS, but the result only displays in plain text. I …

java email jakarta-mail
Base64: java.lang.IllegalArgumentException: Illegal character

I'm trying to send a confirmation email after user registration. I'm using the JavaMail library for this purpose and the …

java base64 jakarta-mail registration
package javax.mail and javax.mail.internet do not exist

When I compile a simple code that has the following 2 import statements: import javax.mail.* import javax.mail.internet.* I …

java email jakarta-mail
Solve error javax.mail.AuthenticationFailedException

I'm not familiar with this function to send mail in java. I'm getting an error while sending email to reset …

java jakarta-mail
Javamail Could not convert socket to TLS GMail

I am trying to send an email using JavaMail through gmails SMTP Server. however this code. final String username = "mygmail@…

java email gmail jakarta-mail
java.lang.NoClassDefFoundError: com/sun/mail/util/MailLogger for JUnit test case for Java mail

I am using Java Mail API to read and parse emails. It is working fine with Servlet code. Now I …

junit jakarta-mail