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

SendGrid Adapter Reply-To parameter updates #487

Conversation

cpjolicoeur
Copy link
Contributor

This PR adds support for the "native" Reply-To header string (in addition to the already supported custom reply-to header string).

Additionally, it also adds full support for SendGrids reply_to parameter format with both the required email field and optional name field.

I split these two additions into 2 separate commits for easier review and editing. If there is no desire to add full support for the name field, I can gladly drop that commit and just send across the Reply-To commit.

To me, at a minimum, the Reply-To format of the header string should be allowed as this is the standard name for the header in SMTP spec and is referenced directly in the top level Bamboo.Email docs on the put_header/3 function.

In the base Bamboo.Email docs for `put_header/3` the native
SMTP header for `Reply-To` is referenced.  The SendGridAdapter
should also handle and support this standard naming format
for the Reply-To header and not just the custom`reply-to` case
of the string.
@cpjolicoeur
Copy link
Contributor Author

Any thoughts on this?

@cpjolicoeur
Copy link
Contributor Author

Is this project still maintained by Thoughbot? Should we (users) start maintaining a separate fork?

Let us know how we can contribute as things seem to be pretty stagnant here? Just looking to help.

Copy link
Contributor

@maymillerricci maymillerricci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So sorry for the delay on this. This looks great - thanks!! 👍

@maymillerricci maymillerricci merged commit b70faeb into beam-community:master Jul 12, 2019
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