[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mail messages with only html



Am 2007-09-14 16:54:27, schrieb Jude DaShiell:
> # create backup for de-html'd email
> :0 c
> * ^Content-Type: text/html
> de-html-backup
> 
> # de-html
> :0 fbw
> * ^Content-Type:[ ]*text/html
> | lynx -dump -stdin -nolist \
> && echo "" \
> && echo "====================================================" \
> && echo "This HTML message has been made into text by lynx" \
> && echo "===================================================="
> 
------------------------- END OF REPLIED MESSAGE -------------------------

Better:

# create backup for de-html'd email
:0
* ^Content-Type: text/html
{
  :0c
  de-html-backup
  
  # de-html
  :0 fbw
  * ^Content-Type:[ ]*text/html
  | lynx -dump -stdin -nolist \
  && echo "" \
  && echo "====================================================" \
  && echo "This HTML message has been made into text by lynx" \
  && echo "===================================================="
}


Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: