getkirby-v2 / toolkit

This is the deprecated toolkit for Kirby v2.

Home Page:http://getkirby.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Amazon SES Mail Service: Do not set cc, bcc and reply to parameters if empty

tillprochaska opened this issue · comments

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.