?
Solved

Using xmail, mail or sendmail with attachments

Posted on 2001-08-01
3
Medium Priority
?
691 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 200 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

Technology Partners: 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

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 is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

777 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