Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email Attachments

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I need to send email with an attachment from UNIX to a Lotus Notes recipient.<br>When I use the following command,<br> <br>cat /home/x10/lockbad.dat ¦ mailx -s "Test 6" <A HREF="mailto:ErnieX@isp.com">ErnieX@isp.com</A><br><br>the file lockbad.dat shows as part of the body of the email <br>rather than as an attachement<br><br>Any suggestions?<br><br>Thank you!
 
ErnieTT,<br><br>Try this:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;<FONT FACE=monospace>cat /home/x10/lockbad.dat ¦ uuencode ¦ mailx -s &quot;Test 6&quot; <A HREF="mailto:ErnieX@isp.com">ErnieX@isp.com</A></font><br><br>Annihilannic.
 
Annihilannic is right, however don't forget to put the name of your output file after uuencode. The output file name is what the recipient will see as the attachment
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top