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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mailx attachements

Status
Not open for further replies.

sumncguy

IS-IT--Management
May 22, 2006
118
0
0
US

How can I send an email message from Unix including an attachment

mailx -s "Sum subject line" sumncguy@someplace.com < somefile

A script response is generating 59k + lines of text and for the most part kill Outlook, so the above command isnt always a good idea.

Thanks
 

Try:

Code:
uuencode 'MyAttachmnt,txt' <TheAttach.mnt|\
mailx -s "Sum subject line" sumncguy@someplace.com < BodyText.txt

[3eyes]


----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top