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

Add envelope information to mail.Headers #423

Open
5 tasks
robdefeo opened this issue Nov 28, 2019 · 2 comments
Open
5 tasks

Add envelope information to mail.Headers #423

robdefeo opened this issue Nov 28, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@robdefeo
Copy link
Member

Is your feature request related to a problem? Please describe.
From a mail message object there is not easy way to find out what envelope type was used to send it.

Describe the solution you'd like

Add envelope information to mail.Headers.

  • add header to rfc2822.EncodeNewMessage and set value e.g. X-Mailchain-envelope-type: 0x01
  • add header to rfc2822.EncodeNewMessage and set value e.g. X-Mailchain-envelope-type-encoding: encoding=hex/0x-prefix
  • use encoding.TypeHex0XPrefix to create encoding=hex/0x-prefix portion
  • expand mail.Headers to include EnvelopeType and EnvelopeTypeEncoding
  • expand rfc2822.parseHeaders to read envelope information`
@robdefeo robdefeo added enhancement New feature or request good first issue Good for newcomers labels Nov 28, 2019
@catacioba
Copy link
Contributor

I would like to work on this one

@stale
Copy link

stale bot commented Apr 7, 2020

This issue has been automatically marked as stale because it has not had recent activity. The resources of the Mailchain team are limited, and so we are asking for your help. If this is a bug and you can still reproduce this error on the master branch, please reply in order to keep the issue open. If this is a feature request, and you feel that it is still relevant and valuable, please reply in order to keep the issue open. This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.

@stale stale bot added the Stale label Apr 7, 2020
@stale stale bot closed this as completed Aug 6, 2020
@robdefeo robdefeo reopened this Aug 6, 2020
@stale stale bot removed the Stale label Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants