apache-commons-email Questions

3

As I updated my Spring Boot application to Java 17 and Spring Boot 3, I migrated from Java EE to Jakarta. I used the MimeMessageParser of org.apache.commons.mail.util.MimeMessageParser, but it expe...
Whitten asked 24/4, 2023 at 14:33

5

Email email = new SimpleEmail(); String authuser = "[email protected]"; String authpwd = "*******"; // Very Important, Don't use email.setAuthentication() email.setSmtpPort(465); email.setAuth...
Infantry asked 23/11, 2009 at 15:10

6

Solved

I'm using Apache Commons Email 1.1 and I can't figure out how to attach a file to an HtmlEmail. If I run the code below, I get an email with an attachment, but the HTML message comes across as an a...
Rostov asked 22/10, 2009 at 22:16

3

I'm using Apache Commons email to send email to my clients, but I have a client called 'Semana da Computação' (in portugues BR) but it goes 'Semana da Computação' . I try to modify my code, but i...
Frater asked 25/4, 2011 at 14:16

2

Solved

How do you change the encoding of an email generated with Apache Commons Email to UTF-8? I want to send emails I generate depending on the receiver's language, and I need to take in account Japanes...
Islington asked 18/6, 2011 at 22:8

3

Solved

I want to send thousands of different emails to different recipients and would like to open the connection to my SMTP and hold it. I hope this is faster then reopen the connection for ervy mail. I ...
Artificer asked 2/12, 2010 at 12:2

2

Solved

Currently I am using Commons Email to send email messages, but I have not been able to find a way to share smtp connections between emails sent. I have code like the following: Email email = new ...
Hildegardehildesheim asked 14/7, 2011 at 14:36

1

I am using Apache Commons Email in my web-application and it works fine. Now that I need to send a document by attachment, I am facing some problems. I need to get the file from the database (as a...
Solicitous asked 24/7, 2011 at 11:4

3

Solved

I am using Apache Commons Email library to send emails, but I am not able to send them via GMail SMTP server. Can anyone provide sample code which works with GMail SMTP server and others? I am usi...
Mindi asked 11/5, 2009 at 16:2
1

© 2022 - 2024 — McMap. All rights reserved.