Operating System - HP-UX
1828343 Members
3177 Online
109976 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 joe@mail.com <
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..." the.name@his.domain.com

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 name@domain.com

Hope this helps you