[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to parse "To" and "Cc" headers?
From: |
Ted Zlatanov |
Subject: |
Re: How to parse "To" and "Cc" headers? |
Date: |
Fri, 30 Jan 2009 09:27:48 -0600 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) |
On Fri, 30 Jan 2009 06:26:07 GMT Teemu Likonen <tlikonen@iki.fi> wrote:
TL> On 2009-01-29 22:16 (+0000), Cor wrote:
>> ;;; (insert "Some Finnish " (mail-header-from message-reply-headers)",
TL> I'm familiar with "(mail-header-from message-reply-headers)" and I use
TL> it for getting the person's name that I'm quoting. I was hoping for a
TL> function which parses all the addresses in "To" and "Cc" fields because
TL> I think the whole audience of the message matters when deciding the
TL> language and format of the citation line.
I think you want mail-extract-address-components. It returns a list of
name-address pairs. You know how to get the whole To: and Cc: lines, I
assume.
Ted