RE: Interpolating subject in 'mailto' links

2002-03-10 19:44:21
Hi Moofie-

I have had success with this:


<a href="mailto:messages(_at_)site(_dot_)com?subject=Re:
$SUBJECTNA$&body=%0D%0A%0D%0AIn response to message:$MSG(CUR)$ - $SUBJECTNA$">Post a Reply to this

This also populates the subject field of the outgoing message utilizing a
mailto: URL.

hope that helps,

-----Original Message-----
From: Mooffie [mailto:mooffie(_at_)typo(_dot_)co(_dot_)il] 
Sent: Sunday, March 10, 2002 9:58 AM
To: mhonarc(_at_)ncsa(_dot_)uiuc(_dot_)edu
Subject: Interpolating subject in 'mailto' links


I want to put a 'reply' link under the message body. I tried:

<a href="mailto:

(I added newlines just to make it easier to read.)

This works fine when the subject consists of ASCII letters, 
but if the 
subject is of the form:

=?iso-8859-1?B?...encoded text...?=

I get the literal string above (URL encoded) instead of the 
decoded text 
(URL encoded).

I tried to use "$SUBJECT:U$" instead of "$SUBJECTNA:U$", but 
it returns 
HTML markup.

Is there any way to solve this problem without modifying the 
Perl source?

Thanks in advance.

<Prev in Thread] Current Thread [Next in Thread>