Emailing a file from the server
Posted on 2011-03-18
Our server archives every message that comes in or goes out.
Now someone needs me to provide that message so they may ...err ... CYA.
Anyway, the file has this incredible name like
(Obviously a time stamp with some other stuff at the end).
I renamed it (since trying to handle such a name is difficult at the CLI) to 144705.
How do I email this? (Part of the message is an MS Word attachment they need). I was horrified to see what Outlook does to an email, so many html tags, good gosh!
On the server, I tried this:
mail email@example.com -s "Your Email" </root/recovered_email/144705
But I just get the text and the attachment is all gibberish. I tried saving the attachment and applying uudecode, but that didn't do it either.