:::
一般研習學員

請輸入標題

discuss pic 2016-02-02 18:51:46
老師,想請教我使用您的function mail_to_use,最近突然出現"could not instantiate mail function"! 通常是出現了什麼問題?謝
discuss pic 2016-02-14 11:45:44
tad
這樣問我也不曉得....
不然試試這個:
function send_now($email = "", $title = "", $content = "", $address = "", $name = "")
{
    global $xoopsConfig, $xoopsDB, $xoopsModuleConfig;

    $xoopsMailer                           = &getMailer();
    $xoopsMailer->multimailer->ContentType = "text/html";
    $xoopsMailer->addHeaders("MIME-Version: 1.0");
    if (!empty($address)) {
        $xoopsMailer->AddReplyTo($address, $name);
    }
    $msg = ($xoopsMailer->sendMail($email, $title, $content, $headers)) ? true : false;
    return $msg;
}
:::

搜尋

QR Code 區塊

https%3A%2F%2Ftad0616.net%2Fmodules%2Ftad_discuss%2Fdiscuss.php%3FBoardID%3D10%26DiscussID%3D32693

線上使用者

81人線上 (11人在瀏覽討論留言)

會員: 0

訪客: 81

更多…