You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ponymail.apache.org by GitBox <gi...@apache.org> on 2021/11/11 22:40:47 UTC

[GitHub] [incubator-ponymail-foal] sebbASF commented on issue #132: To: and Cc: should be stored as arrays

sebbASF commented on issue #132:
URL: https://github.com/apache/incubator-ponymail-foal/issues/132#issuecomment-966676170


   We could store the emails as a list of pairs: real name, email address.
   
   We should use email.utils.getaddresses() for parsing. AFAICT it even handles commas in real name entries.
   
   I don't know if we need to keep the raw values at all?
   
   Note that From can also be a list, in which case Sender must be present:
   https://datatracker.ietf.org/doc/html/rfc2822#section-3.6.2
   I think we need to allow for that as well.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ponymail.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org