jakartaee / jakartaee/mail-api

Message-ID

Open
#728 4 comments 0 reactions 1 assignee Claimed by @jmehrens View on GitHub
Component: internet enhancement
Dominant language
Java
Stars
285
Forks
109
Avg merge
15h 19m
Merged PRs (30d)
1

Description

Hello,

JavaMail sends non-conformant Message-IDs that are catched by spam filters.

Be a good netizen and conform to the standard.

Thank you.

RFC-822 [pg. 30]

> A domain-ref *must* be THE official name of a registry, network,
> or host. It is a symbolic reference, within a name subdomain.

RFC-822 [pg. 23]
4.6.1. MESSAGE-ID / RESENT-MESSAGE-ID

> This field contains a unique identifier (the local-part address
> unit) which refers to THIS version of THIS message. The uniqueness
> of the message identifier is guaranteed by the host which generates
> it. This identifier is intended to be machine readable and
> not necessarily meaningful to humans. A message identifier
> pertains to exactly one instantiation of a particular message;
> subsequent revisions to the message should each receive new message
> identifiers.

RFC-822 [pp. 44-46]

> addr-spec = local-part "@" domain ; global address
[...]
> domain = sub-domain *("." sub-domain)
[...]
> msg-id = "<" addr-spec ">" ; Unique message id optional-field = / "Message-ID" ":" msg-id[...]
> sub-domain = domain-ref / domain-literal

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.