merlin

精益求精

孤鸿

导航

2014年1月13日 #

【phpmailer】

摘要: $mail = new PHPMailer(); $body = file_get_contents('contents.html'); //$body = $_POST['body']; $body = eregi_replace("[]",'',$body); $mail->IsSMTP(); // tellingthe class to use SMTP $mail->SMTPDebug = 2; // enables SMTP debug information (for testing) // 1 = e 阅读全文

posted @ 2014-01-13 17:13 天地一连线_孤鸿挂飘渺 阅读(168) 评论(0) 推荐(0) 编辑