Sponsored Content
Operating Systems AIX Using mutt from command line or script Post 302602481 by Corona688 on Monday 27th of February 2012 01:14:05 PM
Old 02-27-2012
Windows clients expect \r\n in text files, UNIX uses \n. Translate the text file before sending.

Code:
sed 's/$/\r/' unix.txt > win.txt

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How does mutt command pick senders Details

Hi All, We use mutt in one of our scripts to send files as a part of a batch job . The command works nicely but i want to know from where does mutt pick the sender details. As the sender id is different if i use mutt and Mail utility. I can not change the command to mail as it is a part of the... (1 Reply)
Discussion started by: amit1_x
1 Replies

2. Shell Programming and Scripting

How to attach multiple .csv files using mutt command

I need to attach all files starting with 'BusinessReport' using mutt command. It could be any number of files in that directory, say BusinessReport_01, BusinessReport_03, BusinessReport_04 etc. Is there a way to attach all files where filename like BusinessReport_* and sent it using mutt... (2 Replies)
Discussion started by: Jassz
2 Replies

3. Shell Programming and Scripting

How to split a csv file and zip it and attach using mutt command?

We need to redirect the output of a query to .csv file each containing a specified number of lines.Then we should zip these files and send as attachment using mutt command. We tried using split -l 500 query_output.txt outputfile Since we are not sure about the exact number of files... (0 Replies)
Discussion started by: Jassz
0 Replies

4. Shell Programming and Scripting

How to change the sender's name or E-mail address in mutt command

Can any one help me in this ??? How to change sender's name or email address in Mutt command??? (4 Replies)
Discussion started by: sarathi
4 Replies

5. UNIX for Advanced & Expert Users

HTML and attachment using mutt command

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

6. UNIX for Dummies Questions & Answers

Mutt command - email body with out file name

Hello All, I know we can put body inside a mail using -i option for specifying the file which contains body message, is there an option for me to specify body content instead of a file specification only using mutt? Below is not working and i don't see any options in manual page! ... (4 Replies)
Discussion started by: Ariean
4 Replies

7. Shell Programming and Scripting

Mutt command error

Hello there, I am using "mutt" command to send e-mails. mutt -s "Mail subject line" $( printf -- '-a attachment_name') < "mail body file" "e-mail id" I wish to change the name of the attachment by appending the date to it. Something like "attachment_name_$DATE.html" in the mutt... (5 Replies)
Discussion started by: H squared
5 Replies

8. UNIX for Beginners Questions & Answers

Exec command with mutt - turn on & off?

Hi Folks - Quick question around the exec command again. At the end of my script, I check for specific error codes that are returned from a process I execute within the shell script. Based on the error code, I send an email. Do I need to turn off exec feature prior to send each email so... (5 Replies)
Discussion started by: SIMMS7400
5 Replies

9. Shell Programming and Scripting

How to send the log as it is through mailx or mutt command?

Hi, I am able to send the mail with attachment through mailx/mutt command.But i am seeing the log file statements all together when i tried to open from my outlook. log file have the details like below aaa bbb ccc when i tried to open it from my outlook after receiving the mail attachment... (1 Reply)
Discussion started by: Samah
1 Replies

10. Shell Programming and Scripting

Mutt command email body

Hi Team, While sending the email using the mutt command, mail body not appearing properly and attachment it is showing without line breaks and i used the CSS Style (nowrapper )it is working fine. in this case how to handle the email body, please help me. (1 Reply)
Discussion started by: bmk123
1 Replies
NMZMAIL(1)						      General Commands Manual							NMZMAIL(1)

NAME
nmzmail - a tool to use the namazu2 search engine from within mutt SYNOPSIS
nmzmail [ -b <base> ] [ -r <result> ] -i <maildir1> <maildir2> ... -or- nmzmail [ -b <base> ] [ -r <result> ] [ -n <limit> ] DESCRIPTION
nmzmail is a program that uses the namazu2 search engine (http://www.namazu.org) from within the mail client mutt to search and index mail stored in maildir folders. Based on the result of the namazu query, nmzmail generates a maildir folder containing symbolic links to the mail matching the query. A simple mutt macro makes it very easy to use nmzmail from within mutt, and a simple crontab entry always keeps your mail indexed by namazu. Add the following macro to your muttrc file: macro generic S "<shell-escape>nmzmail<return><esc>c~/.nmzmail/result<return>" "Search via nmzmail" Run mutt and hit "S" and enter your query when prompted. You can manually update your index periodically or via a cronjob with: nmzmail -i <maildir1> <maildir2> ... OPTIONS
-i This tells nmzmail to index your email. -b FILE Base. Where nmzmail builds its index. By default it is in $HOME/.nmzmail. -r FILE Result. Similar to -b, this lets you specify where the results are to be built. By default it is within $HOME/.nmzmail. -n NUM Limit. When making a query, nmzmail can be used directly from the command line instead of from within mutt. When the -n option is invoked, the number of results returned from your query will be limited to whatever integer you specify for NUM. SEE ALSO
namazu(1),mutt(1) AUTHOR
nmzmail was written by Johannes Hofmann <johannes.hofmann@gmx.de> This manual page was written by Kevin Coyner <kcoyner@debian.org>, for the Debian project (but may be used by others). March 2006 NMZMAIL(1)
All times are GMT -4. The time now is 04:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy