LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Sending attachments using mailx (https://www.linuxquestions.org/questions/linux-newbie-8/sending-attachments-using-mailx-372993/)

wolfman423 10-14-2005 08:27 AM

Sending attachments using mailx
 
Here goes...
I am trying to send attachments using mailx. I am able to send one file using this command

uuencode /home/mike/filename filename | mailx -s test mike@mike.com

this works fine.

I found this command today off a website and I was wanting to know if this should work. If this is supposed to work, I am getting permission errors when I try to execute this command...

(uuencode /home/mike/filename filename; uuencode /home/mike/filename2 filename2) | mailx -s test mike@mike.com

This is all a learning expierence for me so be gentle!

Thanks.


All times are GMT -5. The time now is 02:04 AM.