.input = "<@otherdomain.tld,@yetanotherdomain.tld:user@domain.tld>",
.address = { .localpart = "user", .domain = "domain.tld" },
.output = "<user@domain.tld>"
+ },{
+ .input = "user@domain.tld",
+ .flags = SMTP_ADDRESS_PARSE_FLAG_BRACKETS_OPTIONAL,
+ .address = { .localpart = "user", .domain = "domain.tld" },
+ .output = "<user@domain.tld>"
}
};
}, {
.input = "email@example..com",
.flags = SMTP_ADDRESS_PARSE_FLAG_BRACKETS_OPTIONAL
+ }, {
+ .input = "@otherdomain.tld,@yetanotherdomain.tld:user@domain.tld",
+ .flags = SMTP_ADDRESS_PARSE_FLAG_BRACKETS_OPTIONAL
}, {
.input = "<>",
}, {