Archived Forum Post

Index of archived forum posts

Question:

smtp Multiple ReplyTo addresses not supported by Chilkat?

Aug 07 '17 at 17:30

rfc2822 implies multiple ReplyTo addresses should be supported. From: https://www.ietf.org/rfc/rfc2822.txt "When the "Reply-To:" field is present, it indicates the mailbox(es) to which the author of the message suggests that replies be sent."

But setting the ReplyTo property to multiple addresses (e.g. "user1@acme.com,user2@acme.com") doesn't seem to work in later versions of Chilkat. The Reply-To header in the eml file gets set only to the first address.

How can we set ReplyTo option to multiple addresses?


Answer

~~Try semicolons between email addresses - seems to work here to preserve multiple addresses in the header, though I'm not sure if this is valid and will be considered multiple email address, or just a single address.~~


Answer

semi-colon separated ( (e.g. "user1@acme.com;user2@acme.com") caused Chilkat to chop off everything after the semi-colon and set the eml entry to
**Reply-To=user1@acme.com;** Note: the semi-colon remains attached to the first address.

Seems like a bug.