Subject: Compose an HTML message in Pine?

From: Help for RCI Users <[email-masked]>
Date: Mon, 23 Feb 2004 16:38:55 -0500 (EST)

Is there any way to use Pine to compose a message in HTML?  Specifically, I
have a user who wants to include a link in a message and not have the
underlying URL be visible (except, of course, when viewing full headers).

---

Chris Jarocha-Ernst                [email-masked]
New Brunswick Computing Services   Research Computing Initiative Help
Busch Campus, Rutgers University   Piscataway, NJ  08855
-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Matt Ackeret <[email-masked]>
Date: Mon, 23 Feb 2004 13:46:45 -0800 (PST)

>Is there any way to use Pine to compose a message in HTML?  Specifically, I

argh!

HTML mail -- just say no!

-- 
top-posting: It's just a bad idea.

---

From: Mats Dufberg <[email-masked]>
Date: Mon, 23 Feb 2004 23:19:31 +0100 (CET)

> underlying URL be visible (except, of course, when viewing full headers).

I don't think there is any simple solution. I think most Pine users
prefer not to use html.

If you create an HTML file that could be attached as text/html. Besides
that, using a different mail client is probably the best solution.

Mats

-----------------------------------------------------------------
Mats Dufberg                                      [email-masked]
Blaoarvsgraend 42                                  +46-8-38 48 59
SE-162 45 Vaellingby, Sweden                      +46-70-258 2588

---

From: Eduardo Chappa <[email-masked]>
Date: Mon, 23 Feb 2004 15:41:42 -0800 (PST)

*** Help for RCI Users ([email-masked]) wrote in the pine-info...:

:) Is there any way to use Pine to compose a message in HTML?
:) Specifically, I have a user who wants to include a link in a message
:) and not have the underlying URL be visible (except, of course, when
:) viewing full headers).

Yes. What needs to be done is to change the content-type to text/html.
This can not be done by editing headers, but it must be done at sending
time.

:)
:) At the moment when we send a message in what we think is html format it
:) is received as plain text containing all the html scripts

Hi,

  You should try to change the mime type of the message. Here's how to
change the type to text/html:

 Create a script. Fore purposes of this message we will call it
"change_mime". This script should contain something like:

#!/bin/sh
echo -n "Content-Type:text/html" > $2

Do not forget to give yourself execution permission for this script
(otherwise Pine will not see it later!)

Go to your configuration file, and where it says sending-filters write

sending-filters=/full/path/to/change_mime _TMPFILE_ _MIMETYPE_

Now when you press ^X to send the message you should be able to select the
filter "change_mime" when sending a message that you would like the
recipient to receive in text/html Content-Type.

Notice that there is an option "compose-send-offers-first-filter". Take a
look at the help for that feature to see if you want to enable it or not.

Eduardo
http://www.math.washington.edu/~chappa/pine/