Re: How handle HTML emails?

2001-05-04 Thread Lars Hecking

Dr. Christian Seberino writes:
 How do people read HTML emails?
 
 If I'm in a good mood, I ask the poster to switch it off.
 Otherwise /dev/null.




Re: How handle HTML emails?

2001-05-04 Thread Viktor Lakics

On Fri, May 04, 2001 at 10:00:30AM +0100, Lars Hecking wrote:

  If I'm in a good mood, I ask the poster to switch it off.
  Otherwise /dev/null.

I think, I have a little more clever way to handle html mail... I
agree, html mail is bad. But a lot of Windoze people uses it, and
mutt has ways to handle that, and after reading the email you can
still give them a warning not to use html mail...

 Dr. Christian Seberino writes:
  How do people read HTML emails?

I do not have the original posting, but I hope Christian is still on
the list:-))
There it is:

You need to edit/setup three files:

1. .mailcap file in your home dir

Include the following line:
text/html;  links -dump %s; nametemplate=%s.html; copiousoutput·

You can use lynx instead, if you do not have links

2. .mime.types

Include this:
text/html   html htm

3. .muttrc

Include the following:

auto_view  text/html·

After this 'voila all the html junk will be readable
text...



Hope this helps... -- Viktor 
  
 
 



Re: How handle HTML emails?

2001-05-04 Thread Michael P. Soulier

On Fri, May 04, 2001 at 07:42:03PM +0100, Viktor Lakics wrote:
 
 Include the following line:
 text/html;  links -dump %s; nametemplate=%s.html; copiousoutput·

I get a links: -dump: no such option error. 

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED] 
With sufficient thrust, pigs fly just fine. However, this is not necessarily a
good idea. It is hard to be sure where they are going to land, and it could be
dangerous sitting under them as they fly overhead. -- RFC 1925

 PGP signature


Re: How handle HTML emails?

2001-05-04 Thread Viktor Lakics

On Fri, May 04, 2001 at 04:05:23PM -0400, Michael P. Soulier wrote:
 I get a links: -dump: no such option error. 

Under Debian (what you seem to use) the standard links is v0.83.
What I use is v0.92 in Mandrake. You can compile it for yourself or
can try alien. The simlplest way is to try lynx, it has a -dump
option in Debian version (potato stable), although it does not
support tables and frames (the new links handles them as well).

Try lynx, and if you find that you like the html viewer under mutt,
you will go for links later...

I find that indispensible. S many people sends stupid html junk,
even if it is not necessary...

Hope this helps... -- Viktor 



Re: How handle HTML emails?

2001-05-04 Thread William Park

On Fri, May 04, 2001 at 07:42:03PM +0100, Viktor Lakics wrote:
 text/html;  links -dump %s; nametemplate=%s.html; copiousoutput·

'-dump' option will print the rendered HTML file to the screen.  Try
'-force_html' if you want to browse.

--William Park, Open Geometry Consulting, Mississauga, Ontario, Canada.
  8 CPUs, Linux, Python, LaTeX, vim, mutt



How handle HTML emails?

2001-05-03 Thread Dr. Christian Seberino

How do people read HTML emails?

Yes I know I could save email and fire
up Netscape but is there some automagic
way to streamline the process???

Christian Seberino

-- 
===
Dr. Christian Seberino   
===
SPAWARSYSCEN D02P  || (619) 553-2564
49330 ELECTRON DR  ||  
SAN DIEGO CA 92152-5451|| [EMAIL PROTECTED]
===



Re: How handle HTML emails?

2001-05-03 Thread Udo Müller

Dr. Christian Seberino [EMAIL PROTECTED] schrieb am Thu, May 03, 2001 at 
01:38:46PM -0700:
 How do people read HTML emails?
 
 Yes I know I could save email and fire
 up Netscape but is there some automagic
 way to streamline the process???
 
You have to write in your /etc/mailcap:

text/html: lynx %s

this will fire up lynx.

Greets Udo



Re: How handle HTML emails?

2001-05-03 Thread Lawrence Mitchell

* On [010503 22:39] Dr. Christian Seberino [EMAIL PROTECTED] wrote:
 How do people read HTML emails?
 
 Yes I know I could save email and fire
 up Netscape but is there some automagic
 way to streamline the process???
See the manual section 5.4

5.4.  MIME Autoview

  In addition to explicitly telling Mutt to view an attachment with the
  MIME viewer defined in the mailcap file, Mutt has support for
  automatically viewing MIME attachments while in the pager.

  To work, you must define a viewer in the mailcap file which uses the
  copiousoutput option to denote that it is non-interactive.  Usually,
  you also use the entry to convert the attachment to a text
  representation which you can view in the pager.

  You then use the auto_view muttrc command to list the content-types
  that you wish to view automatically.

  For instance, if you set auto_view to:

   auto_view text/html text/enriched application/x-gunzip
  Mutt could use the following mailcap entry to automatically view html mails
   text/html;  lynx -dump %s; copiousoutput; nametemplate=%s.html

HTH

Lawrence
HTH

Lawrence

-- 
Lawrence Mitchell | http://members.tripod.co.uk/EVSvienna/
[EMAIL PROTECTED]  | bug, n:
A son of a glitch.



Re: How handle HTML emails?

2001-05-03 Thread Sam Roberts

Yes, put in your muttrc:

auto_view text/html

and in your ~/.mailcap:

text/html; lynx -localhost -dump %s ; copiousoutput ; nametemplate=%s.html

-- 
Sam Roberts [EMAIL PROTECTED]



Re: How handle HTML emails?

2001-05-03 Thread Igor Pruchanskiy

Add this to your .mailcap 

text/html; lynx -dump %s ; copiousoutput

add this to your .muttrc

auto_view text/html


igor

On Thu 03 May 2001, Dr. Christian Seberino wrote:
 How do people read HTML emails?
 
 Yes I know I could save email and fire
 up Netscape but is there some automagic
 way to streamline the process???
 
 Christian Seberino
 
 -- 
 ===
 Dr. Christian Seberino   
 ===
 SPAWARSYSCEN D02P  || (619) 553-2564
 49330 ELECTRON DR  ||  
 SAN DIEGO CA 92152-5451|| [EMAIL PROTECTED]
 ===
 



Re: How handle HTML emails?

2001-05-03 Thread Jeff

I hit 'v' to view and then 'enter' on the attachment.  My mimetypes is set to open it 
in mozilla (netscape) or lynx.

Or, I just delete it!

jc

On Thu, May 03, 2001 at 01:38:46PM -0700, Dr. Christian Seberino wrote:
 How do people read HTML emails?
 
 Yes I know I could save email and fire
 up Netscape but is there some automagic
 way to streamline the process???
 
 Christian Seberino
 
 -- 
 ===
 Dr. Christian Seberino   
 ===
 SPAWARSYSCEN D02P  || (619) 553-2564
 49330 ELECTRON DR  ||  
 SAN DIEGO CA 92152-5451|| [EMAIL PROTECTED]
 ===



Re: How handle HTML emails?

2001-05-03 Thread William Park

On Thu, May 03, 2001 at 01:38:46PM -0700, Dr. Christian Seberino wrote:
 How do people read HTML emails?
 
 Yes I know I could save email and fire up Netscape but is there some
 automagic way to streamline the process???

Usually, I press 'd'.  But, putting 
text/html; lynx -force_html %s; needsterminal
in ~/.mailcap, /etc/mutt/mailcap, or /etc/mailcap, in that order will
load 'lynx' when you press 'v'.

--William Park, Open Geometry Consulting, Mississauga, Ontario, Canada.
  8 CPUs, Linux, Python, LaTeX, vim, mutt



Re: How handle HTML emails?

2001-05-03 Thread Sam Roberts

Quoting Igor Pruchanskiy [EMAIL PROTECTED], who wrote:
 Add this to your .mailcap 
 
 text/html; lynx -dump %s ; copiousoutput

The mutt manual suggested this, I found that lynx used the file extension
to determine the file type, in other words, if the file name in %s
didn't end in .html, it just spit it out verbatim. I had to use the
name template option.

How come this works for you? Alternately, why didn't it work for me?

Any ideas?

Just curious,
Sam

-- 
Sam Roberts [EMAIL PROTECTED]



Re: How handle HTML emails?

2001-05-03 Thread Charles Cazabon

Sam Roberts [EMAIL PROTECTED] wrote:
  Add this to your .mailcap 
  
  text/html; lynx -dump %s ; copiousoutput
 
 The mutt manual suggested this, I found that lynx used the file extension
 to determine the file type, in other words, if the file name in %s
 didn't end in .html, it just spit it out verbatim.

Add the -force-html option to lynx.

Charles
-- 
---
Charles Cazabon [EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: How handle HTML emails?

2001-05-03 Thread Jason Helfman

add this to your .muttrc

auto_view text/html


and install urlview

Then when you have any url in a page you can use CONTROL B to view it
with lynx/netscape/


On Thu, May 03, 2001 at 01:38:46PM -0700, Dr. Christian Seberino muttered:
| How do people read HTML emails?
| 
| Yes I know I could save email and fire
| up Netscape but is there some automagic
| way to streamline the process???
| 
| Christian Seberino
| 
| -- 
| ===
| Dr. Christian Seberino   
| ===
| SPAWARSYSCEN D02P  || (619) 553-2564
| 49330 ELECTRON DR  ||  
| SAN DIEGO CA 92152-5451|| [EMAIL PROTECTED]
| ===

-- 
/Jason G Helfman

At any given moment, you may find the ticket to the circus that has always
been in your possession.

Fingerprint: 6A32 3774 E390 33B5 8C96  2AA1 2BF4 BD71 35A1 C149
GnuPG http://www.gnupg.org  Get Private!  1024D/35A1C149