Sponsored Content
Full Discussion: mutt
Top Forums UNIX for Advanced & Expert Users mutt Post 302181777 by krsenkumar on Friday 4th of April 2008 05:24:05 AM
Old 04-04-2008
You Can use the below format:

Create an real name for the mail id => 'customerservice@blah.com' for time beinng i called 'customerservice'.

mutt -nx -e 'set from=customerservice@blah.com; set realname="customerservice"' -s "Mail Subject" -a attachment_file customermail_id

its working for me. try it...

Good Luck.
 

10 More Discussions You Might Find Interesting

1. AIX

Mutt 1.5 on Aix 5.3

Anyone out there successfully compile mutt 1.5 on AIX 5.3? I get an error on 'make install' but can't sort out what the issue is: # make install ./gen_defs ./OPS ./OPS.PGP ./OPS.SMIME ./OPS.CRYPT > keymap_defs.h ./patchlist.sh < ./PATCHES > patchlist.c echo... (0 Replies)
Discussion started by: eth0
0 Replies

2. Solaris

mutt -a question

Hi... Does sun solaris 5.10 mailx support mutt -a option?? I need to attach file1.txt using this option. In RedHat 5 seem ok but in sun solaris i dont know yet... Does anybody know?? (1 Reply)
Discussion started by: adzuanamir
1 Replies

3. UNIX for Advanced & Expert Users

mutt usage

I want to use mutt in order to send some files as attached files using the mutt pogram. I've tried: mutt -s "Some Subject" -a file1 -a file2 panos1962@gmail.com <message to send the contents of "message" file as the main mail message, and the files "file1" and "file2" as attached files.... (1 Reply)
Discussion started by: Panos1962
1 Replies

4. Ubuntu

Problem with Mutt!

HI i am using Ubuntu 10.10. I tried to install Mutt downloaded from 'ftp://ftp.mutt.org/mutt/mutt-1.4.2.3.tar.gz'. I tried to configure and make install. I was successful to configure is note but make install is giving me make not found error. How to successfully install please tell. (6 Replies)
Discussion started by: nixhead
6 Replies

5. Ubuntu

Whats more with MUTT?

I have installed Mutt and successfully configured Gmail with it. I want to know can I change the sent form id to some what different ID like ab@abc.org instead of usual gmail ID. Apart form that why it is so powerful tool? What makes it very very powerful tool? I am thinking of using it for... (2 Replies)
Discussion started by: nixhead
2 Replies

6. Ubuntu

What is more with mutt?

HI I successfull configured MUTT with gmail on my Ubuntu 10.10. Can I do it for other mail clients like yahoo and live etc. Do I need to make another .muttrc file if yes how please help , I want to play more with mutt. (1 Reply)
Discussion started by: nixhead
1 Replies

7. UNIX and Linux Applications

Mutt for yahoo and Gmail?

Hi Installed MUTT and configured it for Gmail and got successful and then tried to configure for Yahoo but i am not getting any success in doing that. Can anybody advice what preferences are to be set in .muttrc file for configuring yahoo and moreover How to configure multiple Gmail clients in... (1 Reply)
Discussion started by: nixhead
1 Replies

8. UNIX and Linux Applications

Attachments in MUTT.

Can any body figure out how to attach the attachments mails while drafting them in MUTT form any location on my system. I am not able to figure it out. (0 Replies)
Discussion started by: nixhead
0 Replies

9. 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

10. Linux

Sending an email using mutt...

I wanted to send "config.log" to the usergroup that handles open source support for Octave 3.8.0, a programming language as there were build errors. In order to send an email from unix command line, I am trying to use mutt, and I need a straightforward way of sending emails, as the commands... (1 Reply)
Discussion started by: jon80
1 Replies
MAILPARSE_UUDECODE_ALL(3)						 1						 MAILPARSE_UUDECODE_ALL(3)

mailparse_uudecode_all - Scans the data from fp and extract each embedded uuencoded file

SYNOPSIS
array mailparse_uudecode_all (resource $fp) DESCRIPTION
Scans the data from the given file pointer and extract each embedded uuencoded file into a temporary file. PARAMETERS
o $fp - A valid file pointer. RETURN VALUES
Returns an array of associative arrays listing filename information. +-------------+-------------------------------------------------+ | | | | filename | | | | | | | Path to the temporary file name created | | | | | | | |origfilename | | | | | | | The original filename, for uuencoded parts only | | | | +-------------+-------------------------------------------------+ The first filename entry is the message body. The next entries are the decoded uuencoded files. EXAMPLES
Example #1 mailparse_uudecode_all(3) example <?php $text = <<<EOD To: fred@example.com hello, this is some text hello. blah blah blah. begin 644 test.txt /=&AI<R!I<R!A('1E<W0* ` end EOD; $fp = tmpfile(); fwrite($fp, $text); $data = mailparse_uudecode_all($fp); echo "BODY "; readfile($data[0]["filename"]); echo "UUE ({$data[1]['origfilename']}) "; readfile($data[1]["filename"]); // Clean up unlink($data[0]["filename"]); unlink($data[1]["filename"]); ?> The above example will output: BODY To: fred@example.com hello, this is some text hello. blah blah blah. UUE (test.txt) this is a test PHP Documentation Group MAILPARSE_UUDECODE_ALL(3)
All times are GMT -4. The time now is 07:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy