Amazon SES Mail Service: Do not set cc, bcc and reply to parameters if empty
tillprochaska opened this issue · comments
Till Prochaska commented
The SES service currently sets the Destination.CcAddresses.member.N
, Destination.BccAddresses.member.N
and the ReplyToAddresses.member.N
parameters even if no cc, bcc or reply to address is set. While all three aren’t required, SES will throw an InvalidParameterValue
error if the parameters are set but empty.
Also, I think the ReturnPath
shouldn’t be set to the same value as the replyTo
option implicitly as this address needs to be verified unlike the reply to address.