i want to reproduce a mail related problem regarding a mail that is sent from a system i have no control over. For this purpose i want to mimic this problematic email.
I have the exact mail as it was received as a text file (headers + base64 encoded body) How can i send a very similar mail from one of our systems?
mail -s "Test" email@example.com < mail.txt
But it puts the whole text file into the body.
thanks in advance Jens