zend-mail
zend-mail copied to clipboard
How can I encode headers to base64?
Hello. There is a function setHeaderEncoding mentioned here http://framework.zend.com/manual/current/en/modules/zend.mail.encoding.html, but could not find in the current code.
Message headers are always encoded to QuotedPrintable, could not find any way to encode to base64 https://github.com/zendframework/zend-mime/blob/master/src/Mime.php#L244
May be I am wrong, but imho there is some kind of misunderstanding in setting headers' charset encoding and mime encoding. May be some function naming refactorings are required. setCharsetEncoding and setMimeEncoding functions may be suitable ones.
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/66.