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

[enhancement]: I hope that the Request in MTA-HOOK can include the original email EML data. #903

Open
1 task done
Boomboomdunce opened this issue Nov 6, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Boomboomdunce
Copy link

Which feature or improvement would you like to request?

I hope that the Request in MTA-HOOK can include the original email EML data, so that third parties can call it when they have their own EML parsing API. Currently, when using the rust mail_parser library, eml_message.body_html(0).unwrap() or eml_message.body_text(0).unwrap() cannot be used, because in the MTA-HOOK context, the EML has already been parsed into a string through Content-Transfer-Encoding.

Is your feature request related to a problem?

I'm having a problem with...

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Boomboomdunce Boomboomdunce added the enhancement New feature or request label Nov 6, 2024
@mdecimus
Copy link
Member

mdecimus commented Nov 8, 2024

I suggest that you use Milter instead, the request includes the raw message.

@Boomboomdunce
Copy link
Author

I suggest that you use Milter instead, the request includes the raw message.

Thank you very much for your suggestion, milter does indeed solve this problem!

At the same time, I also hope that MTA-HOOK, as a new email filtering standard, can support user freedom in configuration to choose whether to parse EML emails into fields for sending or to send the original EML content, which is more flexible.

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

No branches or pull requests

2 participants