【问题标题】:Hotmail - automatically encode the URLHotmail - 自动编码 URL
【发布时间】:2011-09-23 07:32:02
【问题描述】:

我正在使用 PHP 开发一个向客户发送电子邮件的应用程序。电子邮件的正文包含返回我们网站的 URL 超链接,如下所示:

http://myserver/myfolder/test.cfm?id=una-bottiglia-di-vino-©-®

以上网址包含版权和注册符号

在 Yahoo、GMail、Outlook 等中,链接在我发送时显示。但是 Hotmail 将 href url 显示为已编码

http://myserver/myfolder/test.cfm?id=una-bottiglia-di-vino-%a9-%ae

【问题讨论】:

标签: php hotmail


【解决方案1】:

在您的邮件中,您只需执行 urlencode($myUrl);

更多信息:http://php.net/manual/en/function.urlencode.php

【讨论】:

    猜你喜欢
    • 2011-12-21
    • 2015-10-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-12
    • 2011-04-03
    相关资源
    最近更新 更多