Hello,
I meet with a problem sending emails with attachements by mutt.
simplly like this:
# code
uuencode file_name file_name > att.email
cat mail_message >> att.email
mutt -s "Subject" recei...@somewhere.net < att.email
with this script, I can send email with attachment very easy. and
gmail
M +0200, Jostein Berntsen wrote:
>>
>> On 11.05.10,15:50, Qi Zhang wrote:
>>>
>>> # code
>>> uuencode file_name file_name > att.email
>>>
>>> cat mail_message >> att.email
>>>
>>> mutt -s "Subject" recei..
" option which will generate
> proper mime-compliant header?
>
> Срд, 12 Май 2010, Qi Zhang писал(а):
>> Yes, because the attachments are generated by scripts then put into
>> different folders.
>> Each receiver has different amount of attachments.
>> redirect mail
Thank you Mr DM
But I still have problems. That is: if I use -a $attachments, then
only attach one file, others will act as recipient. I should use -a
file1 -a file2 instead of -a file1 file2. Am I right?
So I made a script can store all file names in one list and begins
with "-a", then use:
mutt
Thanks All!
The problem been solved by add "-a" to each attached files. Because I
don't have permissions to upgrade mutt on the server. But all your
advice are very useful for me.
Thank you very much.
Zhang Qi
On Wed, May 12, 2010 at 10:16 PM, Nathan Stratton Treadway
wrote:
> Nathan