Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

sending attachment with unix mail???

Status
Not open for further replies.

amkush

Computer
Nov 14, 2000
1
how do u send a attachment with unix mail????

thanks.
 
Replies continue below

Recommended for you

Yes u can send file as attachment in unix .
use the following commands.
1. (cat <message file> ; cat <attachment file> | uuencode <asattachment file .extension>) | mailx -s &quot;subject&quot; email address
OR
2. (echo &quot;Messages&quot; ; cat <attachment file> | uuencode <asattachment file .extension>) | mailx -s &quot;subject&quot; email address


thanks and rgds
Manjunath
 
how do you execute this command in perl script. It seems to not work properly.
 
Manjunath, thanks works well. malir98
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor