mail-api
mail-api copied to clipboard
Jakarta Mail Specification project
**Describe the bug** Add header creating a duplicate header. This leads to silent drop of one of the header (the latter in the header list). **To Reproduce** Steps to reproduce...
**Describe the bug** Custom Message-ID header is being overridden by the API **To Reproduce** Steps to reproduce the behavior: Set message-id header \ and send out the mail **Expected behavior**...
In order to read from the mail.jar instead of the application, a different classloader must be used
**Describe the bug** When using a long filename in a multipart message this filename should be separated with Continuations, see https://tools.ietf.org/html/rfc2231: 3. Parameter Value Continuations. This is used, but also...
Exception in thread "main" java.io.IOException: Unknown encoding: at javax.mail.internet.MimePartDataSource.getInputStream(MimePartDataSource.java:92) at com.sun.mail.handlers.text_plain.getContent(text_plain.java:59) at javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:795) at javax.activation.DataHandler.getContent(DataHandler.java:542) at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:659) Caused by: javax.mail.MessagingException: Unknown encoding: at javax.mail.internet.MimeUtility.decode(MimeUtility.java:381) at javax.mail.internet.MimePartDataSource.getInputStream(MimePartDataSource.java:85) ... 9 more I...
**Is your feature request related to a problem? Please describe.** The JSON Meta Application Protocol (JMAP) for Mail is a new standard for mail communications, as a successor to IMAP,...
**Is your feature request related to a problem? Please describe.** Whenever the connected MTA unable to provide 220 for welcome message, the last server response is not included in the...
Define a contract for various types of failures encountered when creating a connection with STARTTLS
**Is your feature request related to a problem? Please describe.** JavaMail can be used to create an encrypted connection to IMAP and SMTP servers using STARTTLS. There are various errors...
Non US-ASCII characters end up **unencoded** in _encodedDisplay_ field when constructor InternetAddress(String) is used to parse valid addresses e.g. `"тест" `. The workaround is to use InternetAddress(String address, String display)...
[`getDefaultMIMECharset()`](https://github.com/eclipse-ee4j/javamail/blob/beab9265aa39a4c3c4a2e220b1e4c198060803a5/mail/src/main/java/javax/mail/internet/MimeUtility.java#L1316) tries to use a charset from a system property and falls back on the system encoding. It would make more sense to use UTF-8 unconditionally. MUAs have been able...