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

RE: Interpolating subject in 'mailto' links



Hi Moofie-

I have had success with this:

<SubjectHeader>
<H2>

<a href="mailto:messages@site.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@typo.co.il] 
> Sent: Sunday, March 10, 2002 9:58 AM
> To: mhonarc@ncsa.uiuc.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@my-server.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.
> 
> 
> 


[Index of Archives]     [Bugtraq]     [Yosemite News]     [Mhonarc Home]