Solved

Using xmail, mail or sendmail with attachments

Posted on 2001-08-01
3
689 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 50 total points
ID: 6340648
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
ID: 9915818
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

688 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