jakarta-mail Questions
3
Solved
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 clas...
Terenceterencio asked 3/7, 2023 at 2:1
5
I'm new to Amazon SES and I see that there are two ways to programmatically send emails:
SES API (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-api.html)
SES SMTP Interface (ht...
Goddaughter asked 9/6, 2015 at 1:27
5
Solved
I'm trying to send an email through Java Mail API and it works fine on my laptop. When I'm doing exactly the same in Heroku, I'm getting this:
java.lang.NoSuchMethodError: com.sun.mail.util.TraceI...
Asci asked 10/5, 2015 at 19:58
14
Solved
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 .apk file, I'll send a mail with this .apk file to a gmail account. I'm using Jnotif...
Oh asked 18/2, 2014 at 14:5
5
Solved
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 the properties here for others.
Ayrshire asked 21/1, 2013 at 0:30
8
Solved
I am trying to build an email client app in android and right now i want to configure the javaMail part.
i am trying to establish the connection with the imap server but something is wrong with my...
Thirza asked 21/11, 2013 at 13:19
49
Solved
I'm trying to configure my e-mail on Jenkins/Hudson, and I constantly receive the error:
java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be
non-empty
I've seen...
Holloman asked 22/7, 2011 at 0:35
12
Solved
UPDATE 1/26/2015 -- It appears the most recent JRE/JDK for Java 8 (update >= 31) and JRE/JDK for Java 7 now include the Godaddy G2 CA server in the default trust store. If possible, it's urged y...
Pair asked 11/9, 2013 at 16:30
6
I am new to working with jakarta.mail. I am getting the following error when creation the Session object for jakarta.mail.
java.lang.IllegalStateException: Not provider of jakarta.mail.util.StreamP...
Marketplace asked 17/10, 2022 at 18:3
4
Solved
I'm trying to use the latest javamail 1.6.0 api in a web app (java 1.8/tomcat8) to send email on behalf of client users of the app. Some clients use gmail.
I don't want to ask them to enable access...
Karole asked 7/8, 2017 at 15:17
7
Solved
I have a class which has an init-method defined in xml
<bean id="appStarter" class="com.myapp.myClass" init-method="init" destroy-method="destroy"/>
myClass:
public class myClass{
priva...
Champaign asked 9/2, 2011 at 12:58
18
I am getting this error when I try to send mail using the JavaMail API:
javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted
How can I fix this?
Fiftieth asked 11/2, 2016 at 18:30
5
Solved
I am getting following error while building my project.
City\controller\MyMailHelper.java:59: cannot access javax.mail.internet.MimeMessage
class file for javax.mail.internet.MimeMessage not found...
Twopence asked 12/12, 2013 at 12:58
4
Solved
We are sending Mail using Spring JavaMailSenderImpl. Following is the configuration
<bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
<property name="h...
Doublethink asked 13/4, 2016 at 6:46
6
Solved
I have a service that has injected the JavaMailSender.
My service configures it and sends a mail.
I'd like to intercept the raw mail to ensure the information is the correct. I'd like to do that in...
Decapitate asked 31/5, 2013 at 10:18
7
Solved
I want to send mail using JavaMailAPI
I have done some coding but it is not working throwing Exception:-
Message Sending Failedjavax.mail.AuthenticationFailedException: 534-5.7.9 Application-spec...
Woolgrower asked 27/10, 2014 at 18:13
6
I'd like to stay complete reactive within my new spring application. Therefor I use web-flux/ reactor and ReactiveRepository with MongoDB.
Do you know how to integrate java-mail reactively into th...
Alluvial asked 28/6, 2018 at 22:16
4
Solved
I have a Web Service deployed on Openshift. Currently what I'm developing is a kind of sending an automated email at a certain point, using my Gmail account.
So I have been documenting myself for...
Conscious asked 19/10, 2014 at 17:24
5
Solved
Domains with special danish characters such as æ ø å are now allowed, but I can't force java mail to accept this.
@Test()
public void testMailAddressWithDanishCharacters1() throws AddressExceptio...
Pelag asked 30/3, 2011 at 8:15
3
Solved
I'm trying to send email from javamail with embeded base64 image (img alt='image PNG' src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgA...AElFTkSuQmCC'")
It's working with small image but when im...
Cioffred asked 11/2, 2014 at 13:54
11
when i connect to my imap server using imaps,it failes.
can you tell me how to ignore server cert error in javamail
Exception in thread "main"
javax.mail.MessagingException:
sun.security.validato...
Rostrum asked 4/2, 2011 at 5:43
7
Solved
I know there are some other questions (with answers) to this topic. But none of these was helpful for me.
I have a Postfix server (postfix 3.4.14 on Debian 10 (Buster)) with the following configura...
Councilwoman asked 9/6, 2021 at 7:3
17
Solved
I'm not familiar with this function to send mail in java. I'm getting an error while sending email to reset a password. Hope you can give me a solution.
Below is my code:
public synchronized stat...
Mensural asked 13/9, 2013 at 4:17
1
We are trying to connect a javamail (1.6) client to our office365 mailbox hosted on office365 using OAUTH2 authentication.
No matter what we do, we keep getting A1 NO AUTHENTICATE failed.
We have r...
Bubb asked 23/8, 2022 at 18:13
5
Solved
So since the 31 of may google has disabled the option for "Less secure apps", so I have been using the Java mail API, and since the update i can no longer send emails using the Gmail smtp...
Qua asked 2/6, 2022 at 17:41
1 Next >
© 2022 - 2024 — McMap. All rights reserved.