[NTLUG:Discuss] mail or mailx question on attachments

David david at hayes-family.org
Thu Nov 21 21:40:22 CST 2002


On Thu, Nov 21, 2002 at 10:23:15AM -0600, Fred James wrote:
> Does anyone know how to send attachments with mail/mailx?  Attachments 
> such as a PDF file.
> Thanks in advance for any suggestions.

Making a proper MIME attachment with mail/mailx is very difficult, since
MIME demands some elements in the message header and others in the
message body.  Mail/mailx does not have any automated support for this.

You might consider using "mutt" instead, which handles MIME very well.
In mutt, you might do "% mutt -a attached-file -s subject to-address".

-- 
David Hayes
david at hayes-family.org




More information about the Discuss mailing list