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
Solved

Using xmail, mail or sendmail with attachments

Posted on 2001-08-01
3
686 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
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Shell script awk command 2 110
Percona cluster member randomly crash 15 534
predeployment and postdeployment script in linux rpm 1 36
Linux: disable vim auto-comment 7 136
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

828 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