Computing.Net > Forums > Unix > Send email with attachment (.TXT) .

Send email with attachment (.TXT) .

Reply to Message Icon

Original Message
Name: GreatCY
Date: January 29, 2004 at 23:27:54 Pacific
Subject: Send email with attachment (.TXT) .
OS: unix
CPU/Ram: 10
Comment:


Hi,

I have a TXT file and would like to send this file via unix to a Lotus Notes client.
I have tried to use both the mail and uuencode command, however, when viewing the email in mail client, the file is pasted as an email content.

Do you know how to make it as attachment?


Report Offensive Message For Removal

Response Number 1
Name: salmoninc
Date: February 10, 2004 at 12:03:37 Pacific
Subject: Send email with attachment (.TXT) .
Reply: (edit)

Try this:

uuencode filename.txt filename.txt | mail -s "Email Subject" test123@test.com


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Send email with attachment (.TXT) .

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software