[imp] Calling compose.php with parameters

Jan Schneider jan at horde.org
Wed Sep 30 09:08:15 UTC 2009


Zitat von JP Edwards <jpedwardspost at yahoo.co.uk>:

> Hi,
>
> I am experimenting with calling the /imp/compose.php with parameters  
> from another web application.  This will help me automate a process  
> which I have to do alot.
>
> For example:
>
> If I call: /imp/compose.php?identity=jp at abc.co.uk &  
> subject=testsubject & rtemode=1 & message=a_test_message
>
>
> I get the email compose form in html mode, with recipient, subject  
> and message prepopulated -  which is great.
>
> However, the different message bodies that I would like to pass can  
> be up to 10kbytes long which unfortunately is a bit too long to pass  
> as an url.  The message body content varies so I can't use a  
> standard draft message as a template.
>
>
> I would like to know if there is another method for passing a longer  
> message body (which is simple to implement) - or maybe automatically  
> loading the message body after the compose form comes up.
>
> Thanks in advance for any suggestions.

Not through a link. But you can POST the body to the compose window instead.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the imp mailing list