Re: Create-Message-Link with subject?

Jan Schneider <[email protected]> Thu, 05 Apr 2018 18:08:36 +0000
Newsgroups gmane.comp.horde.devel
Message-ID <[email protected]>
Zitat von Sebastian Birnbach <[email protected]>:

> 2018-04-04 22:26 GMT+02:00 Jan Schneider <[email protected]>:
>
>>
>> Zitat von Sebastian Birnbach <[email protected]>:
>>
>>
>> Turba offers a link for message composition out of an address book entry.
>>> A typical link might look like this:
>>>
>>> <a href="javascript:void(window.open('/imp/dynamic.php?page=com
>>> pose&amp;to=nobody%40nowhere.loopback.edu&amp;popup=1','','
>>> width=820,height=610,status=1,scrollbars=yes,resizable=yes'))"
>>> title="[email protected]">[email protected]</a>
>>>
>>> I reproduced such links in my own application. Now, it would be nice
>>> to supply a message subject in the link as well. Is this possible?
>>>
>>> Thanks
>>>
>>>   birnbacs
>>>
>>
>> With the "subject" URL parameter.
>>
>
> Thanks Jan,
>
> javascript:void(window.open('/imp/dynamic.php?page=compose&to=nobody%
> 40nowhere.loopback.edu
> &subject=something&popup=1','','width=820,height=610,status=1,scrollbars=yes,resizable=yes'))
>
> does the trick. I noticed that cc and bcc are also available as options. Is
> there any documentation on this? I don't want to be missing any of the
> available cool features.
>
>   birnbacs

No, you need to look at the source. "body" exists too IIRC.

-- 
Jan Schneider
The Horde Project
https://www.horde.org/

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]