LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Automated sending attachments through eamil (https://www.linuxquestions.org/questions/linux-newbie-8/automated-sending-attachments-through-eamil-76637/)

kevin.mccullor 07-28-2003 11:36 AM

Automated sending attachments through eamil
 
I am trying to move code from a Solaris platform to a Linux platform.

In solaris I can send and attachment through mailx using

---

mailx -s"Subject:" someone@somewher.com << EOF

Here is an attachment

`uuencode localfilename.txt remotefilename.txt`

EOF

The problem is first Linux does not use "mailx" and second is the Linux uuencoder does not use STDOUT to encode the file so nothing is attached to the email.

Any ideas?

Thanks for the help.

david_ross 07-28-2003 01:15 PM

There is a program called "mail-files", try that.


All times are GMT -5. The time now is 11:08 AM.