Display all email headers in API endpoint /mail_headers
At this time, if you send an email with a custom header (let's say X-Mailtrap-ID
), this header won't be displayed when you hit API endpoint "/mail_headers".
Of course we can use the endpoint "/body.raw", but we only want headers, not the whole email... and the response size is about 150 times bigger (~42 KB vs ~280 B) :/
According to Alina from the Mailtrap Team:
Only headers in RAW format are available.
I don't know what are this "RAW" format, but now for sure /mail_headers does not show all headers. :(
Thanks!
Hugo
18
votes
Hugo Alliaume
shared this idea