Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle commas appropriately #23

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Handle commas appropriately #23

wants to merge 6 commits into from

Conversation

TylerPachal
Copy link

@TylerPachal TylerPachal commented Aug 23, 2018

As per RFC2822 wherein the mailbox-list and mailbox specifications are defined, the following format should be permissible per § 3.4:

"LastName, FirstName" <[email protected]>

This PR handles that appropriately.


This PR also adds Access behaviour so that the bracket syntax can be used, this is useful for drilling down like this:

m = %MimeMail{}
m[:headers][:from]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants