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

Post JSON to webhook #9

Closed
ghost opened this issue Jan 30, 2019 · 2 comments
Closed

Post JSON to webhook #9

ghost opened this issue Jan 30, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 30, 2019

Great SMTP-to-HTTP hook !

Any chance for it to support posting data to a webhook using JSON ? Specifically exposing 'From address', 'To address', 'Date', 'Subject', and 'Body [text]' in seperate JSON key's.

We're specifically looking to integrate this into a larger monitoring and alerting platform as an important entrypoint for e-mail based messages.

Thanks again !

@ushis
Copy link
Owner

ushis commented Mar 24, 2019

Hi,

multipart/form-data is necessary to forward multipart mails (e.g. attachments). I have no good idea how to achieve this with JSON, but I am open for ideas.

You could post from mailhook to logstash and do the transformation there.

Cheers, ushi

@ushis
Copy link
Owner

ushis commented Mar 1, 2020

@ghost you do not seem interested in this issue anymore. closing...

@ushis ushis closed this as completed Mar 1, 2020
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

No branches or pull requests

1 participant