zend-mail icon indicating copy to clipboard operation
zend-mail copied to clipboard

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

Open GeeH opened this issue 9 years ago • 3 comments

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.


GeeH avatar Jun 28 '16 12:06 GeeH

Any known workarounds for this issue?

chadabaker avatar Aug 08 '19 12:08 chadabaker

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

coder-pm avatar Aug 27 '19 08:08 coder-pm

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.

michalbundyra avatar Jan 15 '20 19:01 michalbundyra