sisimai / p5-sisimai

Mail Analyzing Interface for email bounce: A Perl module to parse RFC5322 bounce mails and generating structured data as JSON from parsed results. Formerly known as bounceHammer 4: an error mail analyzer.
https://libsisimai.org
BSD 2-Clause "Simplified" License
78 stars 24 forks source link

RFC 6854 Group Syntax in From: header #277

Open azumakuniyuki opened 6 years ago

azumakuniyuki commented 6 years ago

https://tools.ietf.org/rfc/rfc6854.txt

4.  Examples

   First, consider an email message that is sent by an automated nightly
   monitor program, to which replies should not be sent.  Such messages
   commonly include a valid, replyable address that will discard any
   replies that are sent to it, but recipients who do reply might be
   unaware that their replies will be discarded.  If the message is
   instead presented as follows, the recipients' email clients will not
   allow them to reply in the first place:

      From: Nightly Monitor Robot:;

   Second, consider an email message that is meant to be "from" the two
   managing partners of a business, Ben and Carol, and that is sent by
   their assistant, Dave.  This message could always have been presented
   this way:

      From: ben@example.com,carol@example.com
      Sender: dave@example.com

   This change allows it to be represented this way:

      From: Managing Partners:ben@example.com,carol@example.com;
      Sender: dave@example.com
azumakuniyuki commented 6 years ago

Sisimai::Address might be improved for a group name and addresses.