The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers > Answers to Frequently Asked Questions > How do I send email?
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 10-01-2000
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,190

Sending and attaching files on UNIX-like system can be done in a myriad of ways. It really depends on the mail client you are using and how you are using it.


In web-based clients like Netscape browsers, you simple click and add the attachment from the browser GUI.


The same is true for almost all GUI-based email clients.


From the command line, elm(), sendmail() and a host of others allow you to easily send files from the command line.


Most editors, vi(), et. al. allow you to read in the file, but you might want to convert to an ASCII friendly format first. There are many tools to do this. The old ones had names like uuencode() and uudecode(). Now, there are so many it is hard to keep track of them and there are used in all types of MIME setups.


To answer your question specifically, you need to specify the exact email client you are using. WWW-based email clients are popular these days, of course; but for auto-generated mail responders, etc. a command line tool is best.