11-14-2009
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm trying to script sending an e-mail message on an AIX 5.x server with the following requirements:
1. command line switch to specify file name containing message body in HTML format
2. command line switch to specify file name of a binary attachment
3. command line or input file to specify... (4 Replies)
Discussion started by: G-Man
4 Replies
2. AIX
I apoligize for the cross-post but I'm not getting much in the way of help in the dummies forum:
I'm trying to script sending an e-mail message on an AIX 5.x server with the following requirements:
1. command line switch to specify file name containing message body in HTML format
2. command... (3 Replies)
Discussion started by: G-Man
3 Replies
3. Shell Programming and Scripting
Hi folks,
I have a perl script which sends out email after successful completion of job as inline html, I want to send it out as two parts now as html inline and html attachment. see the attached script.
Thanks in advance (1 Reply)
Discussion started by: sol_nov
1 Replies
4. Shell Programming and Scripting
Hi All,
I want to send the html file as message body not as an attachment. below is my code.it is printing the html code as it is in the email.
your help is needed urgently.
VTIER=$ROOTHOME/vtierlist2.txt
genhtml=/$ROOTHOME/genhtml.html
MAILTO=/$ROOTHOME/maillist
SUBJECT="Vtier Usage... (6 Replies)
Discussion started by: amitbisht9
6 Replies
5. Shell Programming and Scripting
I have an HTML file I am currently sending in the body of an email. I now have a need to send a csv attachment along with it. I can ONLY use sendmail as mutt and xmail etc are not on the server.
Here is what I am currently using: It is possible to add code to add an attachment ??!?
{
... (8 Replies)
Discussion started by: atelford
8 Replies
6. UNIX for Advanced & Expert Users
Hi All,
I want to attach the file as well send html content in the mail body using mutt command or any other command.(uuencode is not present). Please help me. Thanks in advance (1 Reply)
Discussion started by: arukuku
1 Replies
7. UNIX for Advanced & Expert Users
Hi all:
Been racking my brain on this for the last couple of days and what has been most frustrating is that this is the last piece I need to complete a project.
There are numerous posts discussing mutt in this forum and others but I have been unable to find similar issues.
Running with... (1 Reply)
Discussion started by: raggmopp
1 Replies
8. Shell Programming and Scripting
HI Team,
I used below code to get attachment with HTML body. i having21062013.csv file . but i am getting junk .csv file. Can you please help me out.
export MAILTO=rp908@gmail.com.com
export SUBJECT="Test Waiver Code email"
export BODY=test.html
export ATTACH=21062013.csv... (4 Replies)
Discussion started by: Jewel
4 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I was working on getting an HTML file in the mail body along with attaching a "csv" file to the mail.
Below are the 2 parts of the code.
I need help with the second part where I'm sending the mail. The HTML file as an attachment is perfect without any issues and with proper formatting.... (6 Replies)
Discussion started by: aster007
6 Replies
10. Shell Programming and Scripting
Hi,
I am having trouble in sending a mail with html body and attachment (csv file). We don't have uuencode or mutt (not allowed to install as well)
The below code is perfectly working for sending the html body alone:
export MAILTO=abc@xyz.com
export CONTENT="/home/abc/list.html"... (2 Replies)
Discussion started by: close2jay
2 Replies
LEARN ABOUT DEBIAN
notmuch-mutt
NOTMUCH-MUTT(1) User Contributed Perl Documentation NOTMUCH-MUTT(1)
NAME
notmuch-mutt - notmuch (of a) helper for Mutt
SYNOPSIS
notmuch-mutt [OPTION]... search [SEARCH-TERM]...
notmuch-mutt [OPTION]... thread < MAIL
notmuch-mutt [OPTION]... tag [TAGS]... < MAIL
DESCRIPTION
notmuch-mutt is a frontend to the notmuch mail indexer capable of populating a maildir with search results.
OPTIONS
-o DIR
--output-dir DIR
Store search results as (symlink) messages under maildir DIR. Beware: DIR will be overwritten. (Default:
~/.cache/notmuch/mutt/results/)
-p
--prompt
Instead of using command line search terms, prompt the user for them (only for "search").
-h
--help
Show usage information and exit.
INTEGRATION WITH MUTT
notmuch-mutt can be used to integrate notmuch with the Mutt mail user agent (unsurprisingly, given the name). To that end, you should
define macros like the following in your Mutt configuration (usually one of: ~/.muttrc, /etc/Muttrc, or a configuration snippet under
/etc/Muttrc.d/):
macro index <F8>
"<enter-command>unset wait_key<enter><shell-escape>notmuch-mutt --prompt search<enter><change-folder-readonly>~/.cache/notmuch/mutt/results<enter>"
"notmuch: search mail"
macro index <F9>
"<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt thread<enter><change-folder-readonly>~/.cache/notmuch/mutt/results<enter><enter-command>set wait_key<enter>"
"notmuch: reconstruct thread"
macro index <F6>
"<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt tag -inbox<enter>"
"notmuch: remove message from inbox"
The first macro (activated by <F8>) prompts the user for notmuch search terms and then jump to a temporary maildir showing search results.
The second macro (activated by <F9>) reconstructs the thread corresponding to the current mail and show it as search results. The third
macro (activated by <F6>) removes the tag "inbox" from the current message; by changing "-inbox" this macro may be customised to add or
remove tags appropriate to the users notmuch work-flow.
To keep notmuch index current you should then periodically run "notmuch new". Depending on your local mail setup, you might want to do that
via cron, as a hook triggered by mail retrieval, etc.
SEE ALSO
mutt(1), notmuch(1)
AUTHOR
Copyright: (C) 2011-2012 Stefano Zacchiroli <zack@upsilon.cc>
License: GNU General Public License (GPL), version 3 or higher
perl v5.14.2 2012-06-02 NOTMUCH-MUTT(1)