Solved

Using xmail, mail or sendmail with attachments

Posted on 2001-08-01
3
683 Views
Last Modified: 2012-05-04
I want to use one of the above programs to send a mail with an attachment. How do you do this as this doesn't seem to be an option listed in any of the man files. Do I have to UUencode first?
0
Comment
Question by:gavinpat
3 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 50 total points
Comment Utility
do you mean mailx instead of xmail?
The MUAs mail, mailx have the ability to attach files (of any type) to a mail. It must be done manually.
You have to uuencode (or encode base64) the file to be attached if it is not 7-bit ASCII. You also need to include the MIME-specific keywords and headers manually. Then  you may send the generated file (including attachments) using mail, mailx.
Why not using pine as MUA instead?

Keep in mind that sendmail is a MTA. A MTA is not able to make attachements, a MTA's job is simply to deliver the mail it gets, where mail is always a 7-bit ASCII stream.
0
 
LVL 20

Expert Comment

by:jmcg
Comment Utility
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: ahoffmann {http:#6340648}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

jmcg
EE Cleanup Volunteer
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now