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

How can I encode headers to base64?

Open thestanislav opened this issue 9 years ago • 1 comments

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.

thestanislav avatar Feb 09 '16 10:02 thestanislav

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.

michalbundyra avatar Jan 15 '20 19:01 michalbundyra