Parsing message with empty address as '<>'

This commit is contained in:
Michal Horejsek
2020-09-24 15:37:21 +02:00
parent 15c1d7bc24
commit e02c7c7f06
4 changed files with 5 additions and 4 deletions

View File

@ -152,7 +152,7 @@ func parseAddressComment(raw string) string {
}
func parseAddressList(val string) (addrs []*mail.Address, err error) {
if val == "" {
if val == "" || val == "<>" {
return
}