On Sat, 10 Jan 2009 14:07:15 -0500, Michael A. Puls II <
shadow2531@...> wrote:
> Attached is mailto_protocol_handler2.php. I used mailto.php as a
> reference.
>
> It produces the exact results I want it to. There are just 2 problems.
>
> 1. How do I load compose.php in the right frame AND get compose.php to
> use ?send_to=&body= etc. like it does when not loaded in a frame?
>
> 2. When the user is not logged in, I want to redirect to login.php and
> retain the send_to=&body= etc. data after the user logs in.
>
> mailto.php does these things, but it uses ?mailtodata=, which uses some
> funky data format that's percent-encoded, which compose.php decodes etc.
>
> How do I make things work with "send_to=" etc. or how to I convert the
> to, cc, bcc, body and subject percent-encoded hvalues that I've built
> into something that ?mailtodata= understands?
>
> If you look at mailto.php, I basically want to support the
> !$compose_only and $force_login features.
>
> I'm doing this with 1.4.x
I figured it out. ?mailtodata= just wants a percent-encoded serialized array of the to, cc, bcc, subject and body values(decoded).
Attached is with everything working. It works much better with the mailto link at <
http://shadow2531.com/opera/testcases/mailto/modern_mailto_uri_scheme.html#test> than mailto.php does.
--
Michael
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB-----
squirrelmail-devel mailing list
Posting guidelines:
http://squirrelmail.org/postingguidelinesList address:
squirrelmail-devel@...
List archives:
http://news.gmane.org/gmane.mail.squirrelmail.develList info (subscribe/unsubscribe/change options):
https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel