Hello,
I am attempting to send emails from AIX 5.2 using either the mailx command or mutt. When I use mutt:
It sends the attachment, but it forces me into the interactive menu.
When I use mailx:
It sends the attachment, but carriage returns for each line are striped and it comes as all one line.
I eventually want to do this with a script, but not sure how to get this working. I have done some searching, but can't seem to find anything helpful. Can you provide me with some links to scripts that I could look at? Thank you.
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)
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)
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)
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)
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)
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)
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)
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)
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)