phpMailer 配置 企业邮局 163
|
IsSMTP(); // telling the class to use SMTP$mail->Host = "SMTPDebug = 0; // enables SMTP debug information (for testing)$mail->SMTPAuth = true; // enable SMTP authentication$mail->Host = "mail.52shici.com"; // sets the SMTP server$mail->Port = 25; // set the SMTP port for the GMAIL server$mail->Username = ""; // SMTP account username Password = "123456789"; // SMTP account password SetFrom(,'52shici.com'); AddReplyTo(""); IsSMTP(); // telling the class to use SMTP$mail->Host = "smtp.163.com"; // SMTP server$mail->SMTPDebug = 0; // enables SMTP debug information (for testing)$mail->SMTPAuth = true; // enable SMTP authentication$mail->Host = " Port = 25; // set the SMTP port for the GMAIL server$mail->Username = "Password = "123456789"; // SMTP account password$mail->SetFrom('lojinshui@163.com','52shici.com');$mail->AddReplyTo("lojinshui@163.com","52shici.com");$subject="感谢您注册成为52shici.com的会员"; $mail->Subject = "=?utf-8?B?".base64_encode($subject)."?="; (编辑:安卓应用网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
