Dave/WebMaster <ddave(_at_)ddave(_dot_)com> wrote:
<snip>
Dave/WebMaster> Below is my variation of your recipe using the <pre> tags
instead of <form>.
Dave/WebMaster> I'll play with it some more and keep you and the list posted.
Their are a
Dave/WebMaster> lot of things I would like it to do, including write it's own
menu using
Dave/WebMaster> the subject for headers and of course, convert the leading <
into < so
Dave/WebMaster> browsers don't think it's an html tag and skip it. My thoughts
go more
Dave/WebMaster> towards appending a single html file rather than write a bunch
of unique
Dave/WebMaster> ones.
<snip>
Dave/WebMaster>
Dave/WebMaster> :0h
Dave/WebMaster> HEAD=|formail -X ""
Dave/WebMaster>
Dave/WebMaster> :0b
Dave/WebMaster> BODY=|formail -I ""
Dave/WebMaster>
Try this instead to replace:
HEAD=|$FORMAIL -X "" |sed -e 's/\&/\&/g'\
-e 's/</\</g' -e 's/>/\>/g' -e 's/\"/\"/g'
BODY=|$FORMAIL -I "" |sed -e 's/\&/\&/g'\
-e 's/</\</g' -e 's/>/\>/g' -e 's/\"/\"/g'
Dave/WebMaster> UMASK=022 # set less paranoid umask to create world readable
file
Dave/WebMaster>
Dave/WebMaster> :0ciw:
Dave/WebMaster> |echo "<!Content-Type: \"text/html\">" >
$WEBMAIL/$FILE;\
Try this instead to append:
|echo "<!Content-Type: \"text/html\">" >> $WEBMAIL/$FILE;\
Try this for extracting data for SUBJECT menu:
:0h
SUBJECT=|$FORMAIL -xSubject:
_/_/_/ Mitsuru FURUKAWA _/_/_/
_/_/_/ Tokyo, Japan _/_/_/
_/_/_/ mailto:furu(_at_)009(_dot_)com _/_/_/
_/_/_/ http://www.009.com/furu/ _/_/_/