Hi Jan.

On 5 March 2012 11:08, Jan Schneider <[email protected]> wrote:

>
> Zitat von Arminas <[email protected]>:
>
>
>  Hi,
>>
>> the list of messages in mailbox view in IMP contains some fields-columns
>> with automatically generated values. e.g. "From" column - if message was
>> sent by currently logged in user, "To:" information is used instead of
>> "From:".
>>
>> IMHO it would be useful to have ability to disable this feature in IMP's
>> configuration.
>>
>
> No, why?


Yes, I find it useful to show* "To: [email protected]*" instead of "*From:
[email protected]*" to the user if the message was sent by one of the
user's identity addresses. But what if horde doesn't know user's email
addresses? In some cases the email is sent from *[email protected]*,
which is not user's true email address and horde shows "*From:
[email protected]"* instead of "*To: [email protected]"* which is
unexpected. In these cases it would be useful to show FROM in all
mailboxes, except in "Special" mailboxes - Drafts, Sent mail. In "specials"
show only TO field.


>
>
>  However, I would like to disable it now. Where should I alter the code?
>> Maybe in imp/lib/Ui/Mailbox.php getFrom() function? Is this function also
>> used to get "To" field value, while listing sent mail mailboxes?
>>
>
> Try if the "mailboxarray" hook is providing you with what you need.
>

This didn't helped. I had to rewrite getFrom() function to satisfy our
needs.


>
> Jan.
>
> --
> The Horde Project
> http://www.horde.org/
>
>
> --
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: 
> [email protected].**org<[email protected]>
>
-- 
IMP mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]

Reply via email to