MIMEText icon indicating copy to clipboard operation
MIMEText copied to clipboard

Add support for multiple addresses as Reply-To value

Open laurentpellegrino opened this issue 1 year ago • 3 comments

The current implementation allows a single Mailbox as Reply-To value:

https://github.com/muratgozel/MIMEText/blob/master/src/MIMEMessageHeader.ts#L30

but some emails providers such as Amazon SES allow multiple.

I would be great to allow an Array of Mailbox.

laurentpellegrino avatar May 15 '24 21:05 laurentpellegrino

It's a single mailbox as far as i remember from the standards but let me search for it. We can provide an option to allow this kind of standard violations for sure.

muratgozel avatar May 16 '24 08:05 muratgozel

@muratgozel Thanks for your answer.

Based on RFC 5322, it seems Reply-To allows an address list:

https://datatracker.ietf.org/doc/html/rfc5322#section-3.6.2

laurentpellegrino avatar May 16 '24 09:05 laurentpellegrino

A setReplyTo would also be appreciated.

zavan avatar Mar 13 '25 16:03 zavan