* make modest handle mailing lists somewhat correcter (RFC2369):
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Sun, 16 Dec 2007 12:48:55 +0000 (12:48 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Sun, 16 Dec 2007 12:48:55 +0000 (12:48 +0000)
commit7ca6e9e5aff9996bac9eb8304d8255a9f00999a6
treed251be561d8742d326cdc4afeadb904baacc6145
parent6dd74a7b828df851f29575fc8ca4074d7d851993
* make modest handle mailing lists somewhat correcter (RFC2369):
- with-reply all, reply to both the old From: and the Reply-To: address
  (in non-mailinglist cases, we ignore From: if there's a Reply-To:)
- remove duplicate entries in the To: field
- added modest_text_utils_remove_duplicate_addresses (name says it all)
- rewrote modest_text_utils_split_addresses_list; the old version appended
          the ","-seperator in some cases; the old impl is still there but #ifdef'd-out
  jdapena: please check the new impl, I think you wrote the old one
- added modest_tny_msg_get_header to get some header; I think a version
          of this function should go to Tinymail instead;

should fix NB #78638

Note: the real bug there seems to be that tny_header_get_reply_to always(?)
returns NULL; I worked around it by using the abovementioned,
modest_tny_msg_get_header (msg, "Reply-To")
now it works.

pmo-trunk-r3927
src/modest-text-utils.c
src/modest-text-utils.h
src/modest-tny-msg.c
src/modest-tny-msg.h