Replies: 0
I’m using AWS SES and would like to add custom headers when sending out emails using SMTP.
For example:
$phpmailer->addCustomHeader('X-SES-CONFIGURATION-SET', 'ConfigSet');
Can I use an action or filter in functions.php to do this? Is that the best way to add custom headers? If so what would the action or filter code look like?