Reply-To should be an addressList according to the RFC.

This commit is contained in:
Vincent Richard 2021-01-11 21:48:34 +01:00
parent 2e07dc4c31
commit 3733af5191

View File

@ -50,7 +50,6 @@ headerFieldFactory::headerFieldFactory() {
registerField <mailboxField>(vmime::fields::FROM);
registerField <mailboxField>(vmime::fields::SENDER);
registerField <mailboxField>(vmime::fields::REPLY_TO);
registerField <mailboxField>(vmime::fields::DELIVERED_TO);
// Register standard field values
@ -62,7 +61,7 @@ headerFieldFactory::headerFieldFactory() {
registerFieldValue <datetime>(vmime::fields::DATE);
registerFieldValue <relay>(vmime::fields::RECEIVED);
registerFieldValue <text>(vmime::fields::SUBJECT);
registerFieldValue <mailbox>(vmime::fields::REPLY_TO);
registerFieldValue <addressList>(vmime::fields::REPLY_TO);
registerFieldValue <mailbox>(vmime::fields::DELIVERED_TO);
registerFieldValue <text>(vmime::fields::ORGANIZATION);
registerFieldValue <text>(vmime::fields::USER_AGENT);