久久久久久久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>

                          • 主站蜘蛛池模板: 亚洲黄色成人网 | 中文字幕乱码视频32 | 天堂综合网久久 | 久久久久久av | 日本高清中文字幕 | 久久亚洲国产 | 久久精品99国产精品 | 91精品国产92| 宅女噜噜66国产精品观看免费 | 精品国产一区二区在线 | 午夜精品久久久久久久久久久久久 | 久久亚洲国产 | 羞羞视频网站免费看 | 欧美日韩国产在线观看 | 99久久婷婷国产精品综合 | 成人av播放 | 91精品国产色综合久久 | 国产在线第一页 | 国产91在线精品 | 91精品国产综合久久久久蜜臀 | a级在线免费视频 | 免费成人高清在线视频 | 成人综合久久 | 国产精品色 | 免费黄色片视频 | 日日干日日操 | av在线一区二区三区 | 黄色大片观看 | 国产乱码精品1区2区3区 | 9999精品视频| 久久久激情 | 毛片网站在线观看 | 一级毛片观看 | 青青草视频网站 | 欧美日韩在线看 | 日本精a在线观看 | 激情 一区 | 欧美一级黄色免费 | 午夜寂寞福利视频 | www国产成人免费观看视频,深夜成人网 | 亚洲一区二区在线视频 |