[imp] Always show same email header field in mailbox listing
Jan Schneider
jan at horde.org
Tue Mar 6 14:37:51 UTC 2012
Zitat von Arminas <g.arminas at gmail.com>:
> Hi Jan.
>
> On 5 March 2012 11:08, Jan Schneider <jan at horde.org> wrote:
>
>>
>> Zitat von Arminas <g.arminas at gmail.com>:
>>
>>
>> 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: receiver at domain.com*" instead of "*From:
> sender at domain.com*" 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 *login at mailserver.com*,
> which is not user's true email address and horde shows "*From:
> login at mailserver.com"* instead of "*To: receiver at domain.com"* 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.
Then this additional address should be in the user identity's alias
address 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:
>> imp-unsubscribe at lists.horde.**org<imp-unsubscribe at lists.horde.org>
>>
> --
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
--
The Horde Project
http://www.horde.org/
More information about the imp
mailing list