[horde] storing from addresses in session/preferences

Matus UHLAR - fantomas uhlar at fantomas.sk
Tue Jul 5 11:54:55 UTC 2011


>Zitat von Matus UHLAR - fantomas <uhlar at fantomas.sk>:
>>So, would pushing the value to $_SESSION work as I expect?

On 05.07.11 10:09, Jan Schneider wrote:
>Why don't you try it? Yes, it should. Though for Horde 4 you should 
>rather use the global $session *object*. But that's probably going to 
>complicate things for now.

that's something to remember, thank you.

>>>>- can I store the from_addresses in preferences, so the 
>>>>addresses   will be available in case their source is not? How 
>>>>to do this?
>>>
>>>Probably not from a hook.

>>And what about prefs.php? According to an advise, I was able to 
>>modify it to work with array of predefined addresses.
>>
>>Is there any (easy) way to put the array to preferences?

>Sorry?

(how) can I put the variable to horde's preferences and access it from 
both ingo and imp?

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
My mind is like a steel trap - rusty and illegal in 37 states. 


More information about the horde mailing list