<?php
$mail = new PHPMailer;
$mail->isSMTP();
$mail->Host = 'smtp.163.com';
$mail->SMTPAuth = true;
$mail->Username = 'your_email@163.com';
$mail->Password = 'your_password';
$mail->SMTPSecure = 'ssl';
$mail->Port = 465;
?>
顶一下
(0)
0%
踩一下
(0)
0%
- 相关评论
- 我要评论
-