Top "Jakarta-mail" questions

A Java API to send and receive emails.

Exchange server will not accept username/password provided with javax.mail API

I have a lovely little Java client that sends signed email messages. We have an Exchange server that requires username/…

java email exchange-server jakarta-mail smtp-auth
JavaMail API from Maven

I am trying to upgrade to latest Java Mail utility. From <dependency> <groupId>javax.mail</…

java maven jakarta-mail
SMTP Mail Sending Issue : com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay

I am trying to send mail from Java. If i will send mail to same SMTP it working fine. If …

java jakarta-mail smtp-auth
Javamail - sending mail from localhost to external accounts

Need to send email from localhost to external accounts like gmail and yahoo. Right now i have a program which …

java localhost jakarta-mail james hmail-server
JavaMail - Sender Address rejected: Access Denied

Ok, I don't know what else to do. This code worked perfectly fine a week ago when I wrote and …

java jakarta-mail yahoo-mail
Problem with subject encoding when sending an email

I'm sending an email and I'm receiving it correctly but the encoding of the subject is not correct. I'm sending "…

java google-app-engine encoding jakarta-mail velocity
Embedding images into html email with java mail

I am sending html and images with javamail but for some reason I don't see the images as part of …

java html jakarta-ee ejb-3.0 jakarta-mail
JavaMail reading recent unread mails using IMAP

I have a requirement to retrieve unread mails from Gmail. I am using Java Mail API. By default, this API …

java jakarta-mail imap
Sending email without user Interaction - Android Studio

Motivation: I am Creating a Signup Activity and I need to send an Automatic email under Button Click. I have …

java android jar jakarta-mail gmail-api