18.04.1-Ubuntu: Mail command unable to set mail body with attachmentHow to send mail with multiple...
Why are there five extra turns in tournament Magic?
How does this piece of code determine array size without using sizeof( )?
Is it possible to determine from only a photo of a cityscape whether it was taken close with wide angle or from a distance with zoom?
on the truth quest vs in the quest for truth
Can an airline pilot be prosecuted for killing an unruly passenger who could not be physically restrained?
How would fantasy dwarves exist, realistically?
How to customize the pie chart background in PowerPoint?
Largest memory peripheral for Sinclair ZX81?
Is there any deeper thematic meaning to the white horse that Arya finds in The Bells (S08E05)?
Good examples of "two is easy, three is hard" in computational sciences
Shortest amud or daf in Shas?
Why is so much ransomware breakable?
What would be the game balance implications for using the Gygax method for applying falling damage?
Why does a table with a defined constant in its index compute 10X slower?
Divisor Rich and Poor Numbers
Have the writers and actors of GOT responded to its poor reception?
What is the probability that two cards drawn from a deck are both face cards and at least one is red?
Would a "ring language" be possible?
Why is the S-duct intake on the Tu-154 uniquely oblong?
Physically unpleasant work environment
How to draw pentagram-like shape in Latex?
How to laser-level close to a surface
How did Arya not get burned in S8E05, "The Bells"?
Number Sequence Series-Question 2
18.04.1-Ubuntu: Mail command unable to set mail body with attachment
How to send mail with multiple attachments?Does the mail command require a mail server?Email file attachment from command lineWhy is mail-utils / cron sending out so many emails?Delete Mail Based on Subject Pattern [mail-command]Can't send mail via sendmailSendmail SMTP not working on apache2 server [My unqualified host name (X) unknown]Sendmail SMTP “My unqualified hostname” and “My unqualified domain name”Perl script to format .xls file in LinuxHTML email from heirloom mailx on linuxUbuntu 18.04.1 turns black randomly
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I am trying to use mail
command to send 2 attachments. The issue which i am facing is unable to send attachment and mail body content. tried following command
echo "Hello World" | mail -s 'Test Email' -A test.csv -aFrom:no-reply@test.com abcd@test.com
cat README.txt | mail -s 'Test Email' -A test.csv -aFrom:no-reply@test.com abcd@test.com
mail -s 'Test Email' -A test.csv -aFrom:no-reply@test.com abcd@test.com < README.txt
Whereas I send mail body alone then mail is received with body
mail -s 'Test Email' -aFrom:no-reply@test.com abcd@test.com < README.txt
How to send both attachment and mail body (README.txt
in mail body and test.csv
in attachment)?
ubuntu mail-command
New contributor
|
show 2 more comments
I am trying to use mail
command to send 2 attachments. The issue which i am facing is unable to send attachment and mail body content. tried following command
echo "Hello World" | mail -s 'Test Email' -A test.csv -aFrom:no-reply@test.com abcd@test.com
cat README.txt | mail -s 'Test Email' -A test.csv -aFrom:no-reply@test.com abcd@test.com
mail -s 'Test Email' -A test.csv -aFrom:no-reply@test.com abcd@test.com < README.txt
Whereas I send mail body alone then mail is received with body
mail -s 'Test Email' -aFrom:no-reply@test.com abcd@test.com < README.txt
How to send both attachment and mail body (README.txt
in mail body and test.csv
in attachment)?
ubuntu mail-command
New contributor
You mean you want sendREADME.txt
andtest.csv
, both, in attachment?
– αғsнιη
1 hour ago
README.txt is mail body and test.csv in attachment
– Murugan M
1 hour ago
-a
is used to send attachments not-A
– αғsнιη
1 hour ago
In man mail it shows -A, --attach=FILE, -a, --append=HEADER: VALUE append given header to the message being sent
– Murugan M
1 hour ago
Done. its 18.04.1-Ubuntu
– Murugan M
1 hour ago
|
show 2 more comments
I am trying to use mail
command to send 2 attachments. The issue which i am facing is unable to send attachment and mail body content. tried following command
echo "Hello World" | mail -s 'Test Email' -A test.csv -aFrom:no-reply@test.com abcd@test.com
cat README.txt | mail -s 'Test Email' -A test.csv -aFrom:no-reply@test.com abcd@test.com
mail -s 'Test Email' -A test.csv -aFrom:no-reply@test.com abcd@test.com < README.txt
Whereas I send mail body alone then mail is received with body
mail -s 'Test Email' -aFrom:no-reply@test.com abcd@test.com < README.txt
How to send both attachment and mail body (README.txt
in mail body and test.csv
in attachment)?
ubuntu mail-command
New contributor
I am trying to use mail
command to send 2 attachments. The issue which i am facing is unable to send attachment and mail body content. tried following command
echo "Hello World" | mail -s 'Test Email' -A test.csv -aFrom:no-reply@test.com abcd@test.com
cat README.txt | mail -s 'Test Email' -A test.csv -aFrom:no-reply@test.com abcd@test.com
mail -s 'Test Email' -A test.csv -aFrom:no-reply@test.com abcd@test.com < README.txt
Whereas I send mail body alone then mail is received with body
mail -s 'Test Email' -aFrom:no-reply@test.com abcd@test.com < README.txt
How to send both attachment and mail body (README.txt
in mail body and test.csv
in attachment)?
ubuntu mail-command
ubuntu mail-command
New contributor
New contributor
edited 1 hour ago
αғsнιη
18.1k113271
18.1k113271
New contributor
asked 2 hours ago
Murugan MMurugan M
62
62
New contributor
New contributor
You mean you want sendREADME.txt
andtest.csv
, both, in attachment?
– αғsнιη
1 hour ago
README.txt is mail body and test.csv in attachment
– Murugan M
1 hour ago
-a
is used to send attachments not-A
– αғsнιη
1 hour ago
In man mail it shows -A, --attach=FILE, -a, --append=HEADER: VALUE append given header to the message being sent
– Murugan M
1 hour ago
Done. its 18.04.1-Ubuntu
– Murugan M
1 hour ago
|
show 2 more comments
You mean you want sendREADME.txt
andtest.csv
, both, in attachment?
– αғsнιη
1 hour ago
README.txt is mail body and test.csv in attachment
– Murugan M
1 hour ago
-a
is used to send attachments not-A
– αғsнιη
1 hour ago
In man mail it shows -A, --attach=FILE, -a, --append=HEADER: VALUE append given header to the message being sent
– Murugan M
1 hour ago
Done. its 18.04.1-Ubuntu
– Murugan M
1 hour ago
You mean you want send
README.txt
and test.csv
, both, in attachment?– αғsнιη
1 hour ago
You mean you want send
README.txt
and test.csv
, both, in attachment?– αғsнιη
1 hour ago
README.txt is mail body and test.csv in attachment
– Murugan M
1 hour ago
README.txt is mail body and test.csv in attachment
– Murugan M
1 hour ago
-a
is used to send attachments not -A
– αғsнιη
1 hour ago
-a
is used to send attachments not -A
– αғsнιη
1 hour ago
In man mail it shows -A, --attach=FILE, -a, --append=HEADER: VALUE append given header to the message being sent
– Murugan M
1 hour ago
In man mail it shows -A, --attach=FILE, -a, --append=HEADER: VALUE append given header to the message being sent
– Murugan M
1 hour ago
Done. its 18.04.1-Ubuntu
– Murugan M
1 hour ago
Done. its 18.04.1-Ubuntu
– Murugan M
1 hour ago
|
show 2 more comments
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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
});
}
});
Murugan M is a new contributor. Be nice, and check out our Code of Conduct.
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%2funix.stackexchange.com%2fquestions%2f519409%2f18-04-1-ubuntu-mail-command-unable-to-set-mail-body-with-attachment%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Murugan M is a new contributor. Be nice, and check out our Code of Conduct.
Murugan M is a new contributor. Be nice, and check out our Code of Conduct.
Murugan M is a new contributor. Be nice, and check out our Code of Conduct.
Murugan M is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f519409%2f18-04-1-ubuntu-mail-command-unable-to-set-mail-body-with-attachment%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
You mean you want send
README.txt
andtest.csv
, both, in attachment?– αғsнιη
1 hour ago
README.txt is mail body and test.csv in attachment
– Murugan M
1 hour ago
-a
is used to send attachments not-A
– αғsнιη
1 hour ago
In man mail it shows -A, --attach=FILE, -a, --append=HEADER: VALUE append given header to the message being sent
– Murugan M
1 hour ago
Done. its 18.04.1-Ubuntu
– Murugan M
1 hour ago