1 Oct
2007
1 Oct
'07
10:58 a.m.
Johannes Berg wrote:
On Mon, 2007-10-01 at 09:19 +0200, Lars Stavholm wrote:
I'm working on a dovecot plugin.
What's the easiest way to read a specific mail header like "To" or "From"?
You know you could look into my plugin which does this ;)
That was kinda' the obvious answer. I did however ask for the easiest way of doing it. Now, that might be the stuff in your code, but again it might not. How am I to know? Thus the question.
Look at mail_get_first_header() and friends.
Yes, of course, thanks. /L