Solved

Emailing a file from the server

Posted on 2011-03-18
2
319 Views
Last Modified: 2013-12-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

14:47:05-0400.12630.0

(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 james@mycompany.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.

Thanks anyone!
0
Comment
Question by:dougp23
2 Comments
 
LVL 31

Accepted Solution

by:
farzanj earned 500 total points
Comment Utility
Use mutt:


echo "Please see the attached" | mutt -a /root/recovered_email/144705 -s "Your Email" james@mycompany.com

Open in new window

0
 
LVL 1

Author Comment

by:dougp23
Comment Utility
Thanks, that did the trick!
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Microsoft has released various new features which are capable of handling various tasks. One of these tasks is ‘Migration from pop3 to Exchange Server’. Pop3 data stores various data along mailboxes like contacts, tasks, etc. So, it becomes the need…
Nearly six years ago I was hired by a company to be their senior server engineer. One of my first projects was to implement Exchange Server 2007 on a Windows Server 2008 Single Copy Cluster for high availability. That was the easy part; read on to l…
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now