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

Sending file as an attachment 3

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello

I want to send the file as attachment. But when I issue
the command

mailx -s &quot;subject&quot; email@address < file

It goes as in line text

I am using Solaris 7

Thanks

Sharad
 
Hey,
I too wanted to send the file as attachment but instead found that it sends the file as text message from the file.
I don't think there is another way around but if anyone knows ,then please post it here.
 
mailx does not have MIME or any way to make attachments. It is still possible to make attachments.
Use the following command sequence to accomplish a binary
attachment to mailx.

# uuencode binfile binfile > binfile.uu
# mailx -s &quot;subject&quot; recipient < binfile.uu

Also, more than one uu file can be prepared and appended to the message.

Hope this helps,

Regards,

Carlos Almeida,



 
Thanks a lot

I could send the file as an attachment by uuencode
command.

Sharad
 
Hi Carlos,
Thanx.....I am able to send attachments.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top