zendframework / zend-mail

Mail component from Zend Framework
BSD 3-Clause "New" or "Revised" License
96 stars 111 forks source link

\Zend\Mail\Header\HeaderValue should support unicode characters #96

Open GeeH opened 8 years ago

GeeH commented 8 years ago

This issue has been moved from the zendframework repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html


Original Issue: https://api.github.com/repos/zendframework/zendframework/issues/7656 User: @akosphp Created On: 2016-01-02T14:42:06Z Updated At: 2016-02-13T15:34:17Z Body The isValid method doesn't support unicode characters in the header value. This is a problem for example when unicode email address is given. (eg.: üñîçøðé@example.com - which is a valid email address)

Unicode email addresses cause Zend\Mail\Header\Exception\RuntimeException in vendor\zendframework\zend-mail\src\Header\HeaderValue.php:115 Exception message: Invalid header value detected.


chadabaker commented 5 years ago

Any known workarounds for this issue?

coder-pm commented 4 years ago

Read https://docs.zendframework.com/zend-mail/message/intro/ and just use correct encoding.

michalbundyra commented 4 years ago

This repository has been closed and moved to laminas/laminas-mail; a new issue has been opened at https://github.com/laminas/laminas-mail/issues/59.