-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
List-Id is defined in RFC 2919.
A header may look like this (two lines, second line starts with a tabulation):
List-Id: "Mailing list for \"Foo Bar\""
<foo-bar.lists.example.net>
It should be possible to extract so-called "phrase" part of the header (Mailing list for "Foo bar").
Existing function addrparse_header does not work because it returns MailListAddr. An attempt to extract an address with extract_singe_info fails to parse the field with an error "Invalid address found: must contain a '@' symbol".
So the field cannot be parsed as an address list and a dedicated parser for List-Id is needed.
WhyNotHugo
Metadata
Metadata
Assignees
Labels
No labels