-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
Benjamin Peter opened SPR-6530 and commented
It seems like the MimeMailHelper does not encode mail address header fields.
In my expectation adresses like ---"Hans Müller" [email protected]--- should be encoded to something like ---=?ISO-8859-1?Q?"Hans=FXM=FXller?= [email protected]--- if the MimeMailHelper is used to ensure a valid email.
I might also be wrong but please correct me.
As I see it according to RFC 2045 the name part of the address is "phrase" and in RFC 2047 can also be an encoded-word. "phrase = 1*( encoded-word / word )".
I added a small example program to demonstrate the behaviour. Subject and Text are encoded but From: and To: are not.
Affects: 3.0 M3
Attachments:
- MailEncoding.java (1.04 kB)
- MailEncoding.txt (340 bytes)
Referenced from: commits fd3a39d
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement