久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<legend id='qOpPd'><style id='qOpPd'><dir id='qOpPd'><q id='qOpPd'></q></dir></style></legend>

<tfoot id='qOpPd'></tfoot>

      • <bdo id='qOpPd'></bdo><ul id='qOpPd'></ul>

    1. <small id='qOpPd'></small><noframes id='qOpPd'>

      1. <i id='qOpPd'><tr id='qOpPd'><dt id='qOpPd'><q id='qOpPd'><span id='qOpPd'><b id='qOpPd'><form id='qOpPd'><ins id='qOpPd'></ins><ul id='qOpPd'></ul><sub id='qOpPd'></sub></form><legend id='qOpPd'></legend><bdo id='qOpPd'><pre id='qOpPd'><center id='qOpPd'></center></pre></bdo></b><th id='qOpPd'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='qOpPd'><tfoot id='qOpPd'></tfoot><dl id='qOpPd'><fieldset id='qOpPd'></fieldset></dl></div>

        PHP 郵件編碼主題行

        PHP Mail Encodes Subject Line(PHP 郵件編碼主題行)
        <i id='AQXX2'><tr id='AQXX2'><dt id='AQXX2'><q id='AQXX2'><span id='AQXX2'><b id='AQXX2'><form id='AQXX2'><ins id='AQXX2'></ins><ul id='AQXX2'></ul><sub id='AQXX2'></sub></form><legend id='AQXX2'></legend><bdo id='AQXX2'><pre id='AQXX2'><center id='AQXX2'></center></pre></bdo></b><th id='AQXX2'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='AQXX2'><tfoot id='AQXX2'></tfoot><dl id='AQXX2'><fieldset id='AQXX2'></fieldset></dl></div>

            1. <legend id='AQXX2'><style id='AQXX2'><dir id='AQXX2'><q id='AQXX2'></q></dir></style></legend>

              <small id='AQXX2'></small><noframes id='AQXX2'>

                <bdo id='AQXX2'></bdo><ul id='AQXX2'></ul>
                    <tbody id='AQXX2'></tbody>
                  <tfoot id='AQXX2'></tfoot>
                  本文介紹了PHP 郵件編碼主題行的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  當我嘗試從 PHP 發送 HTML 編碼的電子郵件時,如果主題行包含特殊字符,例如 "這是您請求的信息",PHP 會將其編碼為讀取 "Here'是您請求的信息."

                  When I try to send a HTML encoded email from PHP, if the subject line contains special chars like "Here's the information you requested", PHP encodes it to read "Here&#039;s the information you requested."

                  我該如何解決這個問題?

                  How do I fix this?

                  以下是使用 PHP mail() 的代碼:

                  Here's what the code looks like using PHP mail():

                  $headers  = 'MIME-Version: 1.0' . "
                  ";
                  $headers .= 'Content-type: text/html; charset=iso-8859-1' . "
                  ";
                  
                  $headers .= 'To: ' . $mod_params['name'] . '<' . $mod_params['email'] . '>' . "
                  ";
                  
                  $headers .= 'From: <do_not_reply@a4isp.com>' . "
                  ";  
                  
                  $email_to = $mod_params['email'];
                  
                  $email_sub = "Here's the Information You Requested";
                  
                  $body = html_entity_decode("<html><body>" . $email_html_body . "</body></html>");
                  
                  mail($email_to,$email_sub,$body,$headers);
                  

                  它給出與通過 SugarPHPMailer 類運行它相同的錯誤.

                  It gives the same error as running it through the SugarPHPMailer class.

                  推薦答案

                  試試這個:

                   $newsubject='=?UTF-8?B?'.base64_encode($subject).'?=';
                  

                  這樣您就不必依賴 PHP 或 MTA 的編碼,您就可以完成工作,并且郵件客戶端應該理解它.您的新主題中不會出現特殊字符,因此在發送電子郵件時不會出現任何問題.

                  This way you don't rely on PHP or the MTA's encoding, you do the job, and the mail client should understand it. No special characters will be present in your new subject, so no problems should arise while delivering the email.

                  這篇關于PHP 郵件編碼主題行的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Deadlock exception code for PHP, MySQL PDOException?(PHP、MySQL PDOException 的死鎖異常代碼?)
                  PHP PDO MySQL scrollable cursor doesn#39;t work(PHP PDO MySQL 可滾動游標不起作用)
                  PHP PDO ODBC connection(PHP PDO ODBC 連接)
                  Using PDO::FETCH_CLASS with Magic Methods(使用 PDO::FETCH_CLASS 和魔術方法)
                  php pdo get only one value from mysql; value that equals to variable(php pdo 只從 mysql 獲取一個值;等于變量的值)
                  MSSQL PDO could not find driver(MSSQL PDO 找不到驅動程序)

                    <small id='oJ0PC'></small><noframes id='oJ0PC'>

                    <i id='oJ0PC'><tr id='oJ0PC'><dt id='oJ0PC'><q id='oJ0PC'><span id='oJ0PC'><b id='oJ0PC'><form id='oJ0PC'><ins id='oJ0PC'></ins><ul id='oJ0PC'></ul><sub id='oJ0PC'></sub></form><legend id='oJ0PC'></legend><bdo id='oJ0PC'><pre id='oJ0PC'><center id='oJ0PC'></center></pre></bdo></b><th id='oJ0PC'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='oJ0PC'><tfoot id='oJ0PC'></tfoot><dl id='oJ0PC'><fieldset id='oJ0PC'></fieldset></dl></div>
                      <tbody id='oJ0PC'></tbody>

                      <bdo id='oJ0PC'></bdo><ul id='oJ0PC'></ul>
                      1. <legend id='oJ0PC'><style id='oJ0PC'><dir id='oJ0PC'><q id='oJ0PC'></q></dir></style></legend>

                      2. <tfoot id='oJ0PC'></tfoot>

                          • 主站蜘蛛池模板: 狠狠狠干 | 91视频久久| 亚洲网址在线观看 | 欧美日韩一区二区在线 | 久久一区 | 国产精品2区 | 精品欧美一区二区精品久久久 | www.国产91 | 久久国产精品免费视频 | 91欧美激情一区二区三区成人 | 人人做人人澡人人爽欧美 | 日韩欧美成人精品 | 华人黄网站大全 | 国产ts人妖一区二区三区 | 国产综合久久 | 国产91av视频 | 午夜精品久久久久久久久久久久久 | 欧美a在线| 亚洲精品在线免费观看视频 | 亚洲精品一区二区三区中文字幕 | 日韩超碰| 中文字幕精品一区 | 久操伊人 | 中文字幕在线播放第一页 | 亚洲人久久 | 午夜av毛片 | 视频一区中文字幕 | 无码一区二区三区视频 | av天天干 | 一区日韩 | 亚洲 中文 欧美 日韩 在线观看 | 欧美精品区| 国产露脸国语对白在线 | 精品二区 | av在线播放免费 | 亚洲精品9999 | 特黄色一级毛片 | 97caoporn国产免费人人 | 狠狠干美女 | 日韩欧美操| www免费视频 |