The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
I have a questions about mail command btech_raju UNIX for Dummies Questions & Answers 1 11-27-2007 01:13 PM
Mail/DNS problem and questions xnightcrawl UNIX for Advanced & Expert Users 2 05-02-2006 02:13 AM
.forward and alias mail forwarding questions bitt3n UNIX for Dummies Questions & Answers 3 01-28-2006 10:32 PM
E-Mail questions Sergiu-IT IP Networking 1 09-19-2005 09:51 AM
can not send mail from unix server to company/yahoo mail b5fnpct UNIX for Dummies Questions & Answers 5 11-22-2002 06:24 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 05-01-2006
Registered User
 

Join Date: Feb 2005
Posts: 14
unix mail questions

Hi All,

Im trying to send a .ZIP file in an email message using mail or mailx. What is the easiest way to do this?

Thanks!

UPDATE: I used the following command which didnt work

mailx -s {my subject} {xxxxx@ssss.com} < /var/tmp/file.zip

Last edited by lewisoco; 05-01-2006 at 01:36 PM.
Reply With Quote
Forum Sponsor
  #2  
Old 05-01-2006
Registered User
 

Join Date: Feb 2006
Location: California
Posts: 45
mail or sendmail.. both will work the same..
I use sendmail..
Reply With Quote
  #3  
Old 05-01-2006
Registered User
 

Join Date: Jan 2006
Posts: 23
Hello,

Code:
uuencode file.tar.gz | mail admin@example.com < /dev/null
Try also with mutt:

Code:
mutt -a file.tar.gz admin@example.com < /dev/null
More info and examples at:

http://www.shelldorado.com/articles/...tachments.html

Regards,

--
Santi Saez
Reply With Quote
  #4  
Old 05-01-2006
Registered User
 

Join Date: Feb 2005
Posts: 14
Thanks. this worked:

uuencode file.zip | mail someone@somwhere.com
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:23 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0