problem faced during sending attach file using mail -a
i am using a Red Hat Enterprise Linux AS release 4 (Nahant Update 8) and i am facing problems while i try to send an attached file via email using "mail -a" option.
the below is displayed:
mail -a
mail: invalid option -- a
Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ...
[- sendmail-options ...]
mail [-iInNv] -f [name]
mail [-iInNv] [-u user]
The rpm packages installed related to "mail" are:
rpm -qa | grep mail
sendmail-8.13.1-3.3.el4
mailx-8.1.1-37.EL4
mailcap-2.1.17-1
procmail-3.22-14.1.el4
Please, can you tell me what .rpm package i should install on my system in order to be able to use "mail -a".
thank you...
linux
migrated from stackoverflow.com Jul 6 '11 at 16:48
This question came from our site for professional and enthusiast programmers.
add a comment |
i am using a Red Hat Enterprise Linux AS release 4 (Nahant Update 8) and i am facing problems while i try to send an attached file via email using "mail -a" option.
the below is displayed:
mail -a
mail: invalid option -- a
Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ...
[- sendmail-options ...]
mail [-iInNv] -f [name]
mail [-iInNv] [-u user]
The rpm packages installed related to "mail" are:
rpm -qa | grep mail
sendmail-8.13.1-3.3.el4
mailx-8.1.1-37.EL4
mailcap-2.1.17-1
procmail-3.22-14.1.el4
Please, can you tell me what .rpm package i should install on my system in order to be able to use "mail -a".
thank you...
linux
migrated from stackoverflow.com Jul 6 '11 at 16:48
This question came from our site for professional and enthusiast programmers.
add a comment |
i am using a Red Hat Enterprise Linux AS release 4 (Nahant Update 8) and i am facing problems while i try to send an attached file via email using "mail -a" option.
the below is displayed:
mail -a
mail: invalid option -- a
Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ...
[- sendmail-options ...]
mail [-iInNv] -f [name]
mail [-iInNv] [-u user]
The rpm packages installed related to "mail" are:
rpm -qa | grep mail
sendmail-8.13.1-3.3.el4
mailx-8.1.1-37.EL4
mailcap-2.1.17-1
procmail-3.22-14.1.el4
Please, can you tell me what .rpm package i should install on my system in order to be able to use "mail -a".
thank you...
linux
i am using a Red Hat Enterprise Linux AS release 4 (Nahant Update 8) and i am facing problems while i try to send an attached file via email using "mail -a" option.
the below is displayed:
mail -a
mail: invalid option -- a
Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ...
[- sendmail-options ...]
mail [-iInNv] -f [name]
mail [-iInNv] [-u user]
The rpm packages installed related to "mail" are:
rpm -qa | grep mail
sendmail-8.13.1-3.3.el4
mailx-8.1.1-37.EL4
mailcap-2.1.17-1
procmail-3.22-14.1.el4
Please, can you tell me what .rpm package i should install on my system in order to be able to use "mail -a".
thank you...
linux
linux
asked Jul 6 '11 at 10:18
user831322
migrated from stackoverflow.com Jul 6 '11 at 16:48
This question came from our site for professional and enthusiast programmers.
migrated from stackoverflow.com Jul 6 '11 at 16:48
This question came from our site for professional and enthusiast programmers.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Where did you find that -a option?
You should have a look at the pair uuencode
/uudecode
to attach binary files to your mails.
add a comment |
Try mailx
NAME
mailx - send and receive Internet mail
SYNOPSIS
mailx [-BDdEFintv~] [-s subject] [-a attachment ] [-c cc-addr] [-b bcc-addr] [-r from-addr] [-h hops] [-A account] [-S variable[=value]] to-addr . . .
mailx [-BDdeEHiInNRv~] [-T name] [-A account] [-S variable[=value]] -f [name]
mailx [-BDdeEinNRv~] [-A account] [-S variable[=value]] [-u user]
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f307198%2fproblem-faced-during-sending-attach-file-using-mail-a%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Where did you find that -a option?
You should have a look at the pair uuencode
/uudecode
to attach binary files to your mails.
add a comment |
Where did you find that -a option?
You should have a look at the pair uuencode
/uudecode
to attach binary files to your mails.
add a comment |
Where did you find that -a option?
You should have a look at the pair uuencode
/uudecode
to attach binary files to your mails.
Where did you find that -a option?
You should have a look at the pair uuencode
/uudecode
to attach binary files to your mails.
answered Jul 6 '11 at 12:39
jopasseratjopasserat
1506
1506
add a comment |
add a comment |
Try mailx
NAME
mailx - send and receive Internet mail
SYNOPSIS
mailx [-BDdEFintv~] [-s subject] [-a attachment ] [-c cc-addr] [-b bcc-addr] [-r from-addr] [-h hops] [-A account] [-S variable[=value]] to-addr . . .
mailx [-BDdeEHiInNRv~] [-T name] [-A account] [-S variable[=value]] -f [name]
mailx [-BDdeEinNRv~] [-A account] [-S variable[=value]] [-u user]
add a comment |
Try mailx
NAME
mailx - send and receive Internet mail
SYNOPSIS
mailx [-BDdEFintv~] [-s subject] [-a attachment ] [-c cc-addr] [-b bcc-addr] [-r from-addr] [-h hops] [-A account] [-S variable[=value]] to-addr . . .
mailx [-BDdeEHiInNRv~] [-T name] [-A account] [-S variable[=value]] -f [name]
mailx [-BDdeEinNRv~] [-A account] [-S variable[=value]] [-u user]
add a comment |
Try mailx
NAME
mailx - send and receive Internet mail
SYNOPSIS
mailx [-BDdEFintv~] [-s subject] [-a attachment ] [-c cc-addr] [-b bcc-addr] [-r from-addr] [-h hops] [-A account] [-S variable[=value]] to-addr . . .
mailx [-BDdeEHiInNRv~] [-T name] [-A account] [-S variable[=value]] -f [name]
mailx [-BDdeEinNRv~] [-A account] [-S variable[=value]] [-u user]
Try mailx
NAME
mailx - send and receive Internet mail
SYNOPSIS
mailx [-BDdEFintv~] [-s subject] [-a attachment ] [-c cc-addr] [-b bcc-addr] [-r from-addr] [-h hops] [-A account] [-S variable[=value]] to-addr . . .
mailx [-BDdeEHiInNRv~] [-T name] [-A account] [-S variable[=value]] -f [name]
mailx [-BDdeEinNRv~] [-A account] [-S variable[=value]] [-u user]
answered Jul 6 '11 at 16:54
trurltrurl
2,06211014
2,06211014
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f307198%2fproblem-faced-during-sending-attach-file-using-mail-a%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown