mhonarc-users

RE: Interpolating subject in 'mailto' links

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

I have had success with this:

<SubjectHeader>
<H2>

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

http://list.site.com/$MSG(CUR)$ - $SUBJECTNA$">Post a Reply to this
Thread</a></H2>
<BR>
</SubjectHeader>


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

hope that helps,
geremy

-----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


Hello.

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

<a href="mailto:
mailinglist(_at_)my-server(_dot_)com
?subject=Re:%20$SUBJECTNA:U$
&amp;in-reply-to=$MSGID:U$
&amp;references=$MSGID:U$
">
Reply</a>

(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>