Top "Jakarta-mail" questions

A Java API to send and receive emails.

Best Practices - Sending javamail mime multipart emails - and gmail

I have a Tomcat application that needs to send confirmation emails etc. I have coded the emailer with Javamail (mail.…

java tomcat smtp jakarta-mail html-email
Sending an email with an attachment using javamail API

I am trying to send an email with an attachment file in Java. When I send the email without an …

java email datasource jakarta-mail transport
Why JavaMail connection timeout is too long

In my application I connect to server to authenticate users. This is code: try { Properties prop = new Properties(); prop.put("…

java jakarta-mail connection-timeout
Send javamail using Office365

I'm having trouble configuring the SMTP settings for sending mail using javax.mail (1.4.4) through Office365, so I thought I'd post …

smtp jakarta-mail office365
How to send html email to outlook from Java

I'm trying to send an email in html format using JavaMail but it always seems to only display as a …

java email jakarta-mail
Gmail returns 534-5.7.14 Please log in via your web browser

I found this error while i'm trying to send an email from one Gmail account to another. How to solve …

java email gmail jakarta-mail
JavaMail with MS Exchange: No authentication mechansims supported by both server and client

I've been trying for days now to send mail from Grails application and unsuccessfully. I'm using: grails 1.3.7 mail 1.0 plugin spring-security-core 1.2.6 …

java authentication grails jakarta-mail exchange-server
javax.mail.AuthenticationFailedException: 535 5.0.0 Authentication Failed

I don't understand why i am getting this exception. This is the code that attempts to send email message. public …

java jakarta-mail hotmail
javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; boundary

Currently I'm inline of writing a code that will be listening to a directory. when the directory is updated with .…

java email jakarta-mail ioexception jnotify
Java Mailing Logic: Could not convert socket to TLS

In one application, I implemented mail sending logic using java. I used smtp.gmail.com over 587 port with a valid …

java smtp jakarta-mail mailing