Amazon SES currently does not support data URIs in the message body. Read the message from them here
I put in a hack in
class.phpmailer.php in the AmazonSESSend method
$pattern = '/\(data:image\/png;base64,[^;]*\)/'; $body = preg_replace($pattern, '()', $body);
This removes the imgs and allows mail through the Amazon servers.
thanks for a great plugin 🙂
- The topic ‘SES data URI = illigal content’ is closed to new replies.