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

Support names in to and reply to headers #35

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

Conversation

lazyatom
Copy link

This changes the behaviour of the mailpace gem to match the behaviour of the server.

The documentation indicates that names in the "To" field are supported, but currently they are stripped. The gem should not strip these.

This change also enables providing more than a single Reply-To address (with names), which the Mailpace server also currently supports (I checked!), despite the documentation implying otherwise. The prior test suggested that names in the Reply-To header would be stripped, but this is not currently true in production (I checked).

As with "From", we should be able to specify a name part of any "To"
addresses and have that appear in the delivered email.
This matches the behaviour of the Mailpace server, and the email spec,
where reply-to can have multiple addresses, and each address can have a
name.
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.

1 participant