[Mimedefang] From header information
David F. Skoll
dfs at roaringpenguin.com
Fri Nov 5 09:11:11 EST 2004
On Fri, 5 Nov 2004, Aleksandar Milivojevic wrote:
> $entity->head->get("From") will return whatever is in From header in
> filter, filter_multipart and filter_end. You can't use it in
> filter_begin (it is not defined there). Of course, you can use
> $entity->head->get() function to get value of any header. Note that you
> will need at least MIMEDefang 2.48 to use this (it was broken in
> previous versions).
In previous versions (and 2.48, for that matter), you can open the
file ./HEADERS and parse it. It's guaranteed to contain one header per
line. However, in 2.48, you might as well use $entity->head->get() which
has already parsed the headers.
Regards,
David.
More information about the MIMEDefang
mailing list