Thank you Jared. I got it to work.
add_filter('wp_mail_smtp_custom_options', function($phpmailer) {
$phpmailer->addCustomHeader('X-SES-MESSAGE-TAGS', 'tagName1=tagValue1');
$phpmailer->addCustomHeader('X-SES-CONFIGURATION-SET','myConfigurationSet');
return $phpmailer;
});
I ended up changing:
location ~ ^/.*\.php$ {
try_files $uri = 404;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}
to
location ~ ^/.*\.php$ {
try_files $uri $uri/ /index.php?$args;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}
It now works, but I feel that is a security issue now.
Thank you. I wasn’t aware the plugin could use the translation __() function with parameters in that format.