daniel-zahariev / php-aws-ses

PHP classes that interfaces Amazon Simple Email Service
307 stars 100 forks source link

reply-to address is ignored when sending attachments #17

Closed mikeatxcstats closed 9 years ago

mikeatxcstats commented 9 years ago

If you add an attachment, any assignment for the reply-to address is ignored and a reply is addressed to the sending address. For the same code without an attachment, a reply is correctly addressed to the reply-to address.

mikeatxcstats commented 9 years ago

I am not an OO programmer but I added this line:

$raw_message .= 'Reply-to: ' . $this->encodeRecipients($this->replyto) . "\n";

on line 230 of SimpleEmailServiceMessage.php and it works!

daniel-zahariev commented 9 years ago

Thanks, this is now fixed.