Automatically attach a file to a mail with muttChanging SMTP authentication in mutt based on From e-mail...
Wifi dongle speed is slower than advertised
Fedora boot screen shows both Fedora logo and Lenovo logo. Why and How?
Should my manager be aware of private LinkedIn approaches I receive? How to politely have this happen?
Impossible darts scores
First-year PhD giving a talk among well-established researchers in the field
Unusual mail headers, evidence of an attempted attack. Have I been pwned?
Do I have any obligations to my PhD supervisor's requests after I have graduated?
Require advice on power conservation for backpacking trip
Why do even high-end cameras often still include normal (non-cross-type) AF sensors?
Is this one of the engines from the 9/11 aircraft?
Swapping rooks in a 4x4 board
When to remove insignificant variables?
Cascading Repair Costs following Blown Head Gasket on a 2004 Subaru Outback
How was Hillel permitted to go to the skylight to hear the shiur
Why aren't cotton tents more popular?
Hand soldering SMD 1206 components
Why the feminine "la" in "à la Leonardo DiCaprio", though he is a man?
STM Microcontroller burns every time
What is the origin of Scooby-Doo's name?
What is this tool/thing in an Aztec painting?
Folding basket - is there such a thing?
How do I turn off a repeating trade?
Are all instances of trolls turning to stone ultimately references back to Tolkien?
Archery in modern conflicts
Automatically attach a file to a mail with mutt
Changing SMTP authentication in mutt based on From e-mail addressMutt silently failing when trying to send an e-mail from command lineCustomized Work Emails and Signatures with Each Firm, perhaps with Mutt and Procmail to look Professional?Are there any alternatives to mutt?Can you change mail accounts by recipient in mutt?Mutt overheads or missing switchesmutt send mail from command line, with headers inside text fileHow can I use an apostrophe in a send-hook for mutt?mutt and mail attachmentsWarn about non-existent aliases in mutt
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I am searching for a way to automatically attach a file ~/.mutt/example.vcf to any mail I compose with mutt.
I tried something like send-hook 'attach-file ~/.mutt/fauve.vcf' but it doesn't work.
Have you, please, any idea how to do that ?
email mutt
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I am searching for a way to automatically attach a file ~/.mutt/example.vcf to any mail I compose with mutt.
I tried something like send-hook 'attach-file ~/.mutt/fauve.vcf' but it doesn't work.
Have you, please, any idea how to do that ?
email mutt
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I am searching for a way to automatically attach a file ~/.mutt/example.vcf to any mail I compose with mutt.
I tried something like send-hook 'attach-file ~/.mutt/fauve.vcf' but it doesn't work.
Have you, please, any idea how to do that ?
email mutt
I am searching for a way to automatically attach a file ~/.mutt/example.vcf to any mail I compose with mutt.
I tried something like send-hook 'attach-file ~/.mutt/fauve.vcf' but it doesn't work.
Have you, please, any idea how to do that ?
email mutt
email mutt
edited Aug 29 '15 at 19:58
fauve
asked Jan 11 '14 at 21:29
fauvefauve
3263 silver badges22 bronze badges
3263 silver badges22 bronze badges
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
I dont know mutt, but I can tell you in mail or mailx I usually do uuencode myAttachment.tar.gz attachmentName | mail -s "Here is that dolphin porn you requested" somedude@earthlink.cc.net.foo
uuencode wasn’t installed in my system and was able to send mails with mutt.
– fauve
Jan 13 '14 at 17:34
add a comment |
[edit]
Easiest solution consist in to just create a simple alias for mutt:
alias mutt="/usr/bin/mutt -a $HOME/.std.vcf"
so if you enter mutt mutt -a $HOME/.std.vcf will be executed. That's it!
Normally in order to compose a email with attachments mime-construct is used:
mime-construct --to "nerd@example" --subject 'hi there'
--string "test" --file-attach /etc/motd
There are some solutions to automaticly add your *.vcf:
vcf-to-mutt
muttquery.py
However, it is unusual to use vcf on unices where a signature is more common.
I haven’t mime-construct installed so I can send mails with mutt. Then, if what I want to do need the installation of mime-construct, I will install it.
– fauve
Jan 11 '14 at 23:51
Thank you for vcf-to-mutt and muttquery. I will try them. Yes, I can use a link to my vcf but some email program sync automatically the addressbook when they found a vcf as an attachment. That’s why I prefer this way :)
– fauve
Jan 13 '14 at 17:36
Vcf-to-mutt is an interesting script. Thank you o/ but it doesn’t resolve my problem :) Perhaps the solution are very complicated. Then as you tell me I will probably forget this idea and only quote the link to my vcard in a signature. Thank you.
– fauve
Jan 16 '14 at 18:25
updated alias solution
– user55518
Jan 16 '14 at 19:19
add a comment |
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
});
}
});
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%2f108916%2fautomatically-attach-a-file-to-a-mail-with-mutt%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
I dont know mutt, but I can tell you in mail or mailx I usually do uuencode myAttachment.tar.gz attachmentName | mail -s "Here is that dolphin porn you requested" somedude@earthlink.cc.net.foo
uuencode wasn’t installed in my system and was able to send mails with mutt.
– fauve
Jan 13 '14 at 17:34
add a comment |
I dont know mutt, but I can tell you in mail or mailx I usually do uuencode myAttachment.tar.gz attachmentName | mail -s "Here is that dolphin porn you requested" somedude@earthlink.cc.net.foo
uuencode wasn’t installed in my system and was able to send mails with mutt.
– fauve
Jan 13 '14 at 17:34
add a comment |
I dont know mutt, but I can tell you in mail or mailx I usually do uuencode myAttachment.tar.gz attachmentName | mail -s "Here is that dolphin porn you requested" somedude@earthlink.cc.net.foo
I dont know mutt, but I can tell you in mail or mailx I usually do uuencode myAttachment.tar.gz attachmentName | mail -s "Here is that dolphin porn you requested" somedude@earthlink.cc.net.foo
answered Jan 12 '14 at 3:07
Gregg LeventhalGregg Leventhal
3,04913 gold badges46 silver badges78 bronze badges
3,04913 gold badges46 silver badges78 bronze badges
uuencode wasn’t installed in my system and was able to send mails with mutt.
– fauve
Jan 13 '14 at 17:34
add a comment |
uuencode wasn’t installed in my system and was able to send mails with mutt.
– fauve
Jan 13 '14 at 17:34
uuencode wasn’t installed in my system and was able to send mails with mutt.
– fauve
Jan 13 '14 at 17:34
uuencode wasn’t installed in my system and was able to send mails with mutt.
– fauve
Jan 13 '14 at 17:34
add a comment |
[edit]
Easiest solution consist in to just create a simple alias for mutt:
alias mutt="/usr/bin/mutt -a $HOME/.std.vcf"
so if you enter mutt mutt -a $HOME/.std.vcf will be executed. That's it!
Normally in order to compose a email with attachments mime-construct is used:
mime-construct --to "nerd@example" --subject 'hi there'
--string "test" --file-attach /etc/motd
There are some solutions to automaticly add your *.vcf:
vcf-to-mutt
muttquery.py
However, it is unusual to use vcf on unices where a signature is more common.
I haven’t mime-construct installed so I can send mails with mutt. Then, if what I want to do need the installation of mime-construct, I will install it.
– fauve
Jan 11 '14 at 23:51
Thank you for vcf-to-mutt and muttquery. I will try them. Yes, I can use a link to my vcf but some email program sync automatically the addressbook when they found a vcf as an attachment. That’s why I prefer this way :)
– fauve
Jan 13 '14 at 17:36
Vcf-to-mutt is an interesting script. Thank you o/ but it doesn’t resolve my problem :) Perhaps the solution are very complicated. Then as you tell me I will probably forget this idea and only quote the link to my vcard in a signature. Thank you.
– fauve
Jan 16 '14 at 18:25
updated alias solution
– user55518
Jan 16 '14 at 19:19
add a comment |
[edit]
Easiest solution consist in to just create a simple alias for mutt:
alias mutt="/usr/bin/mutt -a $HOME/.std.vcf"
so if you enter mutt mutt -a $HOME/.std.vcf will be executed. That's it!
Normally in order to compose a email with attachments mime-construct is used:
mime-construct --to "nerd@example" --subject 'hi there'
--string "test" --file-attach /etc/motd
There are some solutions to automaticly add your *.vcf:
vcf-to-mutt
muttquery.py
However, it is unusual to use vcf on unices where a signature is more common.
I haven’t mime-construct installed so I can send mails with mutt. Then, if what I want to do need the installation of mime-construct, I will install it.
– fauve
Jan 11 '14 at 23:51
Thank you for vcf-to-mutt and muttquery. I will try them. Yes, I can use a link to my vcf but some email program sync automatically the addressbook when they found a vcf as an attachment. That’s why I prefer this way :)
– fauve
Jan 13 '14 at 17:36
Vcf-to-mutt is an interesting script. Thank you o/ but it doesn’t resolve my problem :) Perhaps the solution are very complicated. Then as you tell me I will probably forget this idea and only quote the link to my vcard in a signature. Thank you.
– fauve
Jan 16 '14 at 18:25
updated alias solution
– user55518
Jan 16 '14 at 19:19
add a comment |
[edit]
Easiest solution consist in to just create a simple alias for mutt:
alias mutt="/usr/bin/mutt -a $HOME/.std.vcf"
so if you enter mutt mutt -a $HOME/.std.vcf will be executed. That's it!
Normally in order to compose a email with attachments mime-construct is used:
mime-construct --to "nerd@example" --subject 'hi there'
--string "test" --file-attach /etc/motd
There are some solutions to automaticly add your *.vcf:
vcf-to-mutt
muttquery.py
However, it is unusual to use vcf on unices where a signature is more common.
[edit]
Easiest solution consist in to just create a simple alias for mutt:
alias mutt="/usr/bin/mutt -a $HOME/.std.vcf"
so if you enter mutt mutt -a $HOME/.std.vcf will be executed. That's it!
Normally in order to compose a email with attachments mime-construct is used:
mime-construct --to "nerd@example" --subject 'hi there'
--string "test" --file-attach /etc/motd
There are some solutions to automaticly add your *.vcf:
vcf-to-mutt
muttquery.py
However, it is unusual to use vcf on unices where a signature is more common.
edited Jan 18 '14 at 21:36
answered Jan 11 '14 at 22:51
user55518
I haven’t mime-construct installed so I can send mails with mutt. Then, if what I want to do need the installation of mime-construct, I will install it.
– fauve
Jan 11 '14 at 23:51
Thank you for vcf-to-mutt and muttquery. I will try them. Yes, I can use a link to my vcf but some email program sync automatically the addressbook when they found a vcf as an attachment. That’s why I prefer this way :)
– fauve
Jan 13 '14 at 17:36
Vcf-to-mutt is an interesting script. Thank you o/ but it doesn’t resolve my problem :) Perhaps the solution are very complicated. Then as you tell me I will probably forget this idea and only quote the link to my vcard in a signature. Thank you.
– fauve
Jan 16 '14 at 18:25
updated alias solution
– user55518
Jan 16 '14 at 19:19
add a comment |
I haven’t mime-construct installed so I can send mails with mutt. Then, if what I want to do need the installation of mime-construct, I will install it.
– fauve
Jan 11 '14 at 23:51
Thank you for vcf-to-mutt and muttquery. I will try them. Yes, I can use a link to my vcf but some email program sync automatically the addressbook when they found a vcf as an attachment. That’s why I prefer this way :)
– fauve
Jan 13 '14 at 17:36
Vcf-to-mutt is an interesting script. Thank you o/ but it doesn’t resolve my problem :) Perhaps the solution are very complicated. Then as you tell me I will probably forget this idea and only quote the link to my vcard in a signature. Thank you.
– fauve
Jan 16 '14 at 18:25
updated alias solution
– user55518
Jan 16 '14 at 19:19
I haven’t mime-construct installed so I can send mails with mutt. Then, if what I want to do need the installation of mime-construct, I will install it.
– fauve
Jan 11 '14 at 23:51
I haven’t mime-construct installed so I can send mails with mutt. Then, if what I want to do need the installation of mime-construct, I will install it.
– fauve
Jan 11 '14 at 23:51
Thank you for vcf-to-mutt and muttquery. I will try them. Yes, I can use a link to my vcf but some email program sync automatically the addressbook when they found a vcf as an attachment. That’s why I prefer this way :)
– fauve
Jan 13 '14 at 17:36
Thank you for vcf-to-mutt and muttquery. I will try them. Yes, I can use a link to my vcf but some email program sync automatically the addressbook when they found a vcf as an attachment. That’s why I prefer this way :)
– fauve
Jan 13 '14 at 17:36
Vcf-to-mutt is an interesting script. Thank you o/ but it doesn’t resolve my problem :) Perhaps the solution are very complicated. Then as you tell me I will probably forget this idea and only quote the link to my vcard in a signature. Thank you.
– fauve
Jan 16 '14 at 18:25
Vcf-to-mutt is an interesting script. Thank you o/ but it doesn’t resolve my problem :) Perhaps the solution are very complicated. Then as you tell me I will probably forget this idea and only quote the link to my vcard in a signature. Thank you.
– fauve
Jan 16 '14 at 18:25
updated alias solution
– user55518
Jan 16 '14 at 19:19
updated alias solution
– user55518
Jan 16 '14 at 19:19
add a comment |
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%2f108916%2fautomatically-attach-a-file-to-a-mail-with-mutt%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