Top "Jakarta-mail" questions

A Java API to send and receive emails.

Mail server for JavaMail testing

I want to test JavaMail locally, so I need a mail server. Are there any free mail servers I can …

email jakarta-mail mail-server
How can convert inputstream to InputStreamsource or Datasource to attach in Spring JavaMail

I am getting inputstream from the Jsch channelSFTP like below. ChannelSftp channelSftp = (ChannelSftp)channel; InputStream input=channelsftp.get(unixPath);//unixPath …

spring jakarta-mail inputstream sftp jsch
Spring Boot 1.2.5.RELEASE - Sending E-mail via Gmail SMTP

Firstly, I need to say that sending email with 1.2.0.RELEASE works fine application.properties: spring.mail.host = smtp.gmail.com …

java spring email spring-boot jakarta-mail
How to send an email using Gmail API and Java

I have a Web Service deployed on Openshift. Currently what I'm developing is a kind of sending an automated email …

email jakarta-mail google-oauth google-api-java-client gmail-api
Java Mail, sending multiple attachments not working

I looked at many entries on the internet without having luck. Here is my code: import java.io.IOException; import …

java jakarta-mail
How do I send mail with both plain text as well as HTML text so that each mail reader can choose the format appropriate for it?

From http://www.oracle.com/technetwork/java/faq-135477.html#sendmpa: You'll want to send a MIME multipart/alternative message. You …

java email jakarta-mail
IMAP client in Java: JavaMail API or Apache Commons Net?

I have to implement an IMAP Client in Java. Which advantages has using the Apache Commons Net library? Does it …

java email imap jakarta-mail apache-commons
How do I set or change the SMTP Message-ID with javax.mail?

How can I set the SMTP message-id while sending mails with javax.mail. My mail server is reporting something like …

java smtp jakarta-mail
Unable to locate provider for protocol: smtp

New to spring. I'm getting the following exception being caught: 2012-06-14 16:20:57,719 [http-8080-6] ERROR com.nimchip.lmu.data.service.…

java spring jakarta-mail
Java Mail mystery - SMTP blocked?

I have a Java program which uses javax.mail to send an SMTP message. This program works fine on a …

java smtp jakarta-mail