aschroder / Magento-SMTP-Pro-Email-Extension

Full SMTP and Gmail/Google Apps Email support for Magento
aschroder.com
334 stars 208 forks source link

5.1.3 Bad recipient address syntax / punyencode #190

Open nhp opened 7 years ago

nhp commented 7 years ago

There is a problem if you use Zend_Mail and have to encode "strange" charakters, like german Umlauts. As Zend does not support punyencoding you need to encode it idna-conform. I already implemented it in a branch https://github.com/nhp/Magento-SMTP-Pro-Email-Extension/tree/PW-1923, but as of now i see no way of fixing it without using a third party lib (mso/idna-convert) and `require Mage::getBaseDir().'/vendor/autoload.php'. As i see this as a problem i will not file a PR for now, because with that addition we either have to do conditional require statements and the code also only called if the extension was installed via composer. I do not know if this is the preferred way.