ZF2电子邮件与德语变音符号从名称

时间:2015-05-13 15:41:16

标签: zend-framework2 zend-mail

如果我在电子邮件的名称中使用“äöü”等德语变音符号,则会出现“检测到无效标题值”的异常。

$message->setFrom('noreply@mydomain.de', 'äöü')

有人知道解决这个问题很热吗?

1 个答案:

答案 0 :(得分:0)

One possible solution could be to convert the mail address to the correct writing (includes converted umlaut).

You can use icon php function for this action.

相关问题