{"action":"created","issue":{"url":"https://api.github.com/repos/aschroder/Magento-SMTP-Pro-Email-Extension/issues/134","labels_url":"https://api.github.com/repos/aschroder/Magento-SMTP-Pro-Email-Extension/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/aschroder/Magento-SMTP-Pro-Email-Extension/issues/134/comments","events_url":"https://api.github.com/repos/aschroder/Magento-SMTP-Pro-Email-Extension/issues/134/events","html_url":"https://github.com/aschroder/Magento-SMTP-Pro-Email-Extension/issues/134","id":115079111,"number":134,"title":"'Zend_Mail_Protocol_Exception' with message '5.1.3 Invalid address","user":{"login":"pknap","id":1770746,"avatar_url":"https://avatars.githubusercontent.com/u/1770746?v=3","gravatar_id":"","url":"https://api.github.com/users/pknap","html_url":"https://github.com/pknap","followers_url":"https://api.github.com/users/pknap/followers","following_url":"https://api.github.com/users/pknap/following{/other_user}","gists_url":"https://api.github.com/users/pknap/gists{/gist_id}","starred_url":"https://api.github.com/users/pknap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pknap/subscriptions","organizations_url":"https://api.github.com/users/pknap/orgs","repos_url":"https://api.github.com/users/pknap/repos","events_url":"https://api.github.com/users/pknap/events{/privacy}","received_events_url":"https://api.github.com/users/pknap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-04T15:32:28Z","updated_at":"2015-11-04T18:54:03Z","closed_at":null,"body":"Hi,\r\n\r\nI have this problem: Magento js validation lets users enter e-mails with polish accents in billing/registration/other forms where emails are used. When user creates order, email with accent is saved in core_email_queue_recipients, and when cron tries to send message to such e-mail address, it throws exception:\r\n```\r\n2015-11-03T08:51:12+00:00 ERR (3):\r\nexception 'Zend_Mail_Protocol_Exception' with message '5.1.3 Invalid address\r\n' in /var/www/xxx/lib/Zend/Mail/Protocol/Abstract.php:431\r\nStack trace:\r\n#0 /var/www/xxx/lib/Zend/Mail/Protocol/Smtp.php(289): Zend_Mail_Protocol_Abstract->_expect(Array, 300)\r\n#1 /var/www/xxx/lib/Zend/Mail/Transport/Smtp.php(211): Zend_Mail_Protocol_Smtp->rcpt('ąęą@poc...')\r\n#2 /var/www/xxx/lib/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Smtp->_sendMail()\r\n#3 /var/www/xxx/lib/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))\r\n#4 /var/www/xxx/app/code/local/Aschroder/SMTPPro/Model/Email/Queue.php(99): Zend_Mail->send(Object(Zend_Mail_Transport_Smtp))\r\n#5 [internal function]: Aschroder_SMTPPro_Model_Email_Queue->send(Object(Mage_Cron_Model_Schedule))\r\n#6 /var/www/xxx/app/code/core/Mage/Cron/Model/Observer.php(325): call_user_func_array(Array, Array)\r\n#7 /var/www/xxx/app/code/core/Mage/Cron/Model/Observer.php(72): Mage_Cron_Model_Observer->_processJob(Object(Mage_Cron_Model_Schedule), Object(Mage_Core_Model_Config_Element))\r\n#8 /var/www/xxx/app/code/core/Mage/Core/Model/App.php(1338): Mage_Cron_Model_Observer->dispatch(Object(Varien_Event_Observer))\r\n#9 /var/www/xxx/app/code/core/Mage/Core/Model/App.php(1317): Mage_Core_Model_App->_callObserverMethod(Object(Mage_Cron_Model_Observer), 'dispatch', Object(Varien_Event_Observer))\r\n#10 /var/www/xxx/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('default', Array)\r\n#11 /var/www/xxx/cron.php(76): Mage::dispatchEvent('default')\r\n#12 {main}\r\n```\r\nAnd if cron hits this e-mail it stops, and does not process queue further, so no e-mails after this get sent. It just stucks. Is there a way to validate e-mail addresses for accents in backend, or option to skip this e-mail if this exception occurs, or changing js validation is the only way?"},"comment":{"url":"https://api.github.com/repos/aschroder/Magento-SMTP-Pro-Email-Extension/issues/comments/153829178","html_url":"https://github.com/aschroder/Magento-SMTP-Pro-Email-Extension/issues/134#issuecomment-153829178","issue_url":"https://api.github.com/repos/aschroder/Magento-SMTP-Pro-Email-Extension/issues/134","id":153829178,"user":{"login":"pknap","id":1770746,"avatar_url":"https://avatars.githubusercontent.com/u/1770746?v=3","gravatar_id":"","url":"https://api.github.com/users/pknap","html_url":"https://github.com/pknap","followers_url":"https://api.github.com/users/pknap/followers","following_url":"https://api.github.com/users/pknap/following{/other_user}","gists_url":"https://api.github.com/users/pknap/gists{/gist_id}","starred_url":"https://api.github.com/users/pknap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pknap/subscriptions","organizations_url":"https://api.github.com/users/pknap/orgs","repos_url":"https://api.github.com/users/pknap/repos","events_url":"https://api.github.com/users/pknap/events{/privacy}","received_events_url":"https://api.github.com/users/pknap/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T18:54:03Z","updated_at":"2015-11-04T18:54:03Z","body":"Hi, thanks for replying. \r\n\r\nIt's stuck forever - Magento tries to send first message over and over again and does not jump to second and next messages. That's why I think exception catching is necessary, since someone evil could easily disable all your order e-mail delivery bypassing frontend validation."}}