On Nov 27, 2007 2:46 AM, Paul Lesniewski <paul@xxxxxxxxxxxxxxxx> wrote: > > On Nov 27, 2007 1:24 AM, Pascal Maes <pascal.maes@xxxxxxxxxxxxxx> wrote: > > > > Le 27-nov.-07 à 02:59, Paul Lesniewski a écrit : > > > > > > > On Nov 9, 2007 12:14 AM, Pascal Maes <pascal.maes@xxxxxxxxxxxxxx> > > > wrote: > > >> > > >> Le 15 janv. 07 à 06:31, Jonathan Angliss a écrit : > > >> > > >>> -----BEGIN PGP SIGNED MESSAGE----- > > >>> Hash: SHA1 > > >>> > > >>> Hi Pål, > > >>> On Monday, December 25, 2006, Pål wrote: > > >>>> I have a helpdesk system which sends out mail. Some of the mail > > >>>> contains a mailto link like this one: > > >>> > > >>>> For status on your request, click the link below: > > >>>> mailto:helpdesk@xxxxxxxxxxxx?subject=Status&body=52667668 > > >>> > > >>>> Squirrelmail will not make the link correct, as only > > >>>> helpdesk@xxxxxxxxxxxx is recognised and not the subject info. When > > >>>> the reader clicks the link the address helpdesk@xxxxxxxxxxxx is put > > >>>> in the TO-field, but the subject is missing. > > >>> > > >>>> Anyone who knows how to fix this? > > >>> > > >>>> Running SM 1.4.4.1 > > >>> > > >>>> I guess the helpdesk system is badly written as it expects mail to > > >>>> be read in Outlook, and not web mail readers like SM. > > >>> > > >>> I believe the specs say that subject, is allowed, not sure on body > > >>> though. If you upgrade to 1.4.9a, and try again, this should > > >>> work, at > > >>> least the subject. An upgrade should be in order anyway as 1.4.4 is > > >>> known to have security issues. > > >>> > > >>> > > >> > > >> I have the same problem with version 1.4.11 > > > > > > Thanks for the report. The mailto: functionality was in fact broken > > > again. I just fixed it in 1.4.12 and 1.5.2. You might wait a day and > > > then get a snapshot download of 1.4.12 and it should work again. The > > > instructions on how to make mailto: links work are also updated and > > > hopefully more helpful. See the contrib directory in the SquirrelMail > > > package or this: > > > > > > http://squirrelmail.org/wiki/WindowsMailto > > > > > > If you continue to experience problems, please let us know. > > > > > > > > I have downloaded the version 1.4.12 [SVN] (Checked out revision > > 12786.) but the problem remains. > > See the picture in attachment. > > > > I'm afraid that the problem is not realy related to <http://squirrelmail.org/wiki/WindowsMailto > > >. > > It's interesting to know that we can jump directly to SquirrelMail by > > clicking on a mailto link on a web page, but the problem here is that > > the mailto link is broken in SquirreMail and because of that if we > > click onto the link, we don't get what we want. > > In the case of the picture, clicking on the first mailto link, open a > > compose page whith the recipient but not the subject. > > Looks to me like you are viewing a message in plain text. In such a > format, you will never get more than the email address being > highlighted. If you want a mailto: link to be clickable, you need to > have a mail sent in HTML format, and make sure you are viewing it in > HTML format yourself. However, currently, that seems to be broken > too. This is now fixed (patch also included below), however, the link is currently displayed as a mailto: link instead of a link to the SM compose screen. I will look at fixing that later. If anyone else can look at it and create a patch, contributions always welcome. -paul Modified: branches/SM-1_4-STABLE/squirrelmail/functions/mime.php =================================================================== --- branches/SM-1_4-STABLE/squirrelmail/functions/mime.php 2007-11-27 09:12:05 UTC (rev 12787) +++ branches/SM-1_4-STABLE/squirrelmail/functions/mime.php 2007-11-27 11:20:55 UTC (rev 12788) @@ -1704,6 +1704,7 @@ $aUrl = parse_url($attvalue); if (isset($aUrl['scheme'])) { switch(strtolower($aUrl['scheme'])) { + case 'mailto': case 'http': case 'https': case 'ftp': ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users