RE: Sending file as an attachment using mailx
Posted in 2000
Topics: Server Administration, Platform-Specific Issues
First, you'll need to uuencode the file. For example, a text file "test", type: uuencode text text.txt > text.txt Next, in mailx while composing a file, use the following: ~r text.txt or ~< text.txt will insert the uuencoded message in the file. I've used MS Outlook to read the mail and the file is shown as an attachment. If you're just adding a text file, you might need to use the unix2dos command (before uuencoding) to get the carriage returns (instead of getting one long line!). Joe -----Original Message----- From: owner-informix-list@iiug.iiug.org [mailto:owner-informix-list@iiug.iiug.org]On Behalf Of Bhansali, Vinod Sent: Tuesday, August 29, 2000 6:05 PM To: 'informix-list@iiug.org' Subject: Sending file as an attachment using mailx Hello all, I want to send a file as an attachment using mailx. When I send a file it goes as a text in the message body. Thanks a lot in advance. System : IBM AIX 4.3.2 Thanks and regards Vinod Bhansali Informix DBA First American Credco Phone : 619-938-7926 Fax : 619-938-7200