[imp] mailto links from outside.
Aide Florent
faide at alphacent.com
Fri Feb 28 12:37:20 PST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello list,
I am trying to use the registry keys (for windows) I found in the imp cvs
head.
With these keys when I click a "mailto:" link somewhere it opens up my choosen
browser and tries an url like this:
https://myserver.com/horde/imp/?action=compose&to=mailto:mymailadress@mydomain.com
imp then spits out insults about an unknown array index 'query' in lib/IMP.php
on line 621 at the top of the login page.
I can then procede to log in and imp automatically opens up a compose
window... but the "to:" field is not filled.
I tried to trace the problem and it seems the
$mailto = @parse_url($args['to']);
does not return any $mailto['query']
and $args['to'] contains this string: "mailto:mymailadress at mydomain.com"
so parse_url() CANNOT spit out any 'query' index since it is constructed with
elements found after a question mark (?), and there is none.
Is it the syntax used in the IMP.reg file which is obsolete ?
Do I need to use another query ?
Has someone ever succeded to do what I try to do ?
Thanks.
AIDE Florent.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+X0nwQe8gCED8yYERAmXhAJ9aUf0djBDeeXdSOlfsvbZe1R5VwwCcDeGA
ZJ3fcXeU5LhJis9Rjtmy4TQ=
=ewbh
-----END PGP SIGNATURE-----
More information about the imp
mailing list