Hi!

I am using Cyrus IMAP server and sendmail in Linux. I am looking for a
mail client which will be started by CGI (which might be a very small
shell script). When this CGI is started by the www server, it will
collect the text from the html form and send it as a mail message
through this mail client like this:

mutt -s $SUBJECT -c $CC [EMAIL PROTECTED] < $MESSAGEBYDY

or

sendmail -t -oi -f $THEBROWSER <<$MESSAGE

My problems are:

(1) Mutt does not provide command line option to specify/override
"FROM:".

(2) Sendmail is not a good idea, either. When $MESSAGE contains
multi-byte characters - either only part of the message body or a
complete messed up message body, is received.

(3) The receipient gets unreadable Subject like:
Subject: Fwd: Fw: XXXYXVXXXK,EQXVXCXX.
most of the time when the origional Subject: contains multi-byte
characters.

Do I have any alternatives for mail client?
How do I fix the messed up Subject: problem?

Thanks!

-- 
CN

Reply via email to