Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
66 views

Unable to send email using Java API

I am trying to send email via JavaMain API but getting read timeout exceptio. Configurations I did :: I have imported below dependencies in my gradle project :: implementation("javax.mail:javax....
Jemie's user avatar
  • 35
0 votes
0 answers
193 views

Send email from IONOS Domain with java

I am trying to send an email from an ionos email address in a spring project but I get this error even though I am sure the credentials are correct: Exception in thread "Thread-1" org....
FireCreeper82's user avatar
0 votes
1 answer
83 views

Java Jakarta Mail not accepting emoji on subject

I´m trying to send alerts through jakarta mail, using a gmail account and for this I wanted to send a 🚨 emoji on the subject. Session session = Session.getInstance(properties, new Authenticator() { ...
Francesco Galvão's user avatar
1 vote
0 answers
65 views

No email arrived issue when I use javax.mail

I am making android app with kotlin. I want to send email with my gmail account so I used javax.mail package. And now I faced an issue to send gmail. following is full content of my Notify.kt file. ...
Shiro Ennosuke's user avatar
0 votes
0 answers
38 views

spring-boot-starter-mail 3.0.5 - Not provider of jakarta.mail.util.StreamProvider was found [duplicate]

I am using spring-boot-starter-mail v3.0.5. I am aware of an existing issue (found here: https://github.com/jakartaee/mail-api/issues/665) in this version which causes the following exception: ..Not ...
Azhari's user avatar
  • 605
1 vote
0 answers
517 views

Java javax.mail, msal4j Oauth2 send email using Office 365

I would like to send a e-mail. I use Java 1.8, com.microsoft.aad.msal4j und javax.mail. However, I get the following error. No matter what I specify: 5.7.3 Authentication unsuccessful [........PROD....
k0nditor's user avatar
3 votes
1 answer
3k views

Jakarta Mail: Can't verify identity of server

I'm trying to send e-mails in a Spring Boot application and get this exception org.springframework.mail.MailSendException: Mail server connection failed. Failed messages: jakarta.mail....
Simon Martinelli's user avatar
0 votes
3 answers
5k views

Outlook Javax.mail 535 5.7.139 Authentication unsuccessful, the request did not meet the criteria to be authenticated successfully

I am trying to send an email using jakarta.mail 2.0.1. The below mentioned error has started occurring recently. I am not sure what is causing it, but I suspect that it might have something to do with ...
Markus Moltke's user avatar
0 votes
0 answers
79 views

How to add inline image in html email with Micronaut

I am using Micronaut for web application and I need to send emails. We use velocity template for the email body and we need to include an image in the text. I found out there are 3 ways: Base64 ...
Gobanit's user avatar
  • 293
6 votes
2 answers
8k views

Spring-boot-starter-mail 3.1.1 throws "Not provider of jakarta.mail.util.StreamProvider was found"

I am upgrading my project from springboot 2.7.7 to springboot 3.1.1 and java 11 to 17 I have spring-boot-starter-mail included as a dependency and I try to send mail as follows @Service public class ...
petula's user avatar
  • 129
1 vote
1 answer
1k views

What is the role of the "mail.smtp.auth" parameter in the JavaMailSender?

I use JavaMailSender to send emails. I configured the corresponding username and password in the configuration file, but an error occurred when sending the email. The error message is org.apache....
pizssn peng's user avatar
1 vote
1 answer
436 views

Outlook: problem with attachment in EML file generated by JavaMail

I have a problem opening emails with Outlook. I am creating emails with JavaMail/JakartaMail API (version 1.6.x) in the rfc-email-format with the ending *.eml. Occasionally I have attachments with ...
Filou's user avatar
  • 517
0 votes
0 answers
54 views

AWS SES on EC2- file not found

PROBLEM : File / Directory not found I wrote a code to send an email with attachments via AWS SES using Java SpringBoot. I can send the email when I am in a local environment, (with C:\Users ~ ...
Heidi's user avatar
  • 1
0 votes
0 answers
613 views

failed to access class com.sun.activation.registries.LogSupport from class javax.activation.MailcapCommandMap- Spring boot

I'm trying to send an OTP over email using the mail service in Spring boot, but getting error- failed to access class com.sun.activation.registries.LogSupport from class javax.activation....
Vishal Srivastava's user avatar
1 vote
0 answers
27 views

Java Mail : Unable to initiate SMTPS protocol via TLS on port 587 [duplicate]

I would like to send SMTPS mail via TLSv1.2/TLSv1.3 on port 587. I use Axigen as a mail server, with the following configuration: listeners ssl : 465 / 587 ssl configuration : TLS 1.2 / TLS 1.3 ...
Lisa Trz's user avatar

15 30 50 per page
1
2 3 4 5
81