Operating System - HP-UX
1863005 Members
1424 Online
110446 Solutions
New Discussion

executing mail command within a script to include attachments

 
Ted Mims
Occasional Advisor

executing mail command within a script to include attachments

The following is a sample

mail [email protected] <
2 REPLIES 2
Joseph C. Denman
Honored Contributor

Re: executing mail command within a script to include attachments

Try uuencode

uuencode filename filename | maix -m -s "Subject is..." [email protected]

filename is twice !!man uuencode


...jcd...
If I had only read the instructions first??
Jeffrey S. Sims
Trusted Contributor

Re: executing mail command within a script to include attachments

Here is another variation of the uuencode option

uuencode filename filename|sendmail [email protected]

Hope this helps you