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?
I tried
mail -s "Test" [email protected] < mail.txt
But it puts the whole text file into the body.
thanks in advance Jens