Operating System - Linux
1755322 Members
3313 Online
108831 Solutions
New Discussion юеВ

Email binary attachement from LInux

 
SOLVED
Go to solution
Ragni Singh
Super Advisor

Email binary attachement from LInux

Hi all, how do I e-mail binary attachements from Linux. I have used elm in Unix. What can I use in Linux. Any help is truly appreciated and points will be assigned.
4 REPLIES 4
Alexander Chuzhoy
Honored Contributor

Re: Email binary attachement from LInux

unstall the rpm sharutils from the distribution CD (of course unless it's installed).
then run this command:
uuencode /tmp/bin.file /tmp/bin.file |mail anon@microsoft.com


where the file to send is /tmp/bin.file and the e-mail is anon@microsoft.com


Best regards
Marco Di Ianni
Frequent Advisor

Re: Email binary attachement from LInux

For send and recive mail in Linux shell, I use MUTT (http://www.mutt.org/).
This is command line client mail.

Steven E. Protter
Exalted Contributor
Solution

Re: Email binary attachement from LInux

I'm attaching a script and noting that you can add attachment with elm interatively.

See attachment, it is not meant for interactive use. You'll need to check the shell and change the path to sendmail binary.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ragni Singh
Super Advisor

Re: Email binary attachement from LInux

thanks all for the hlep.