|
@@ -134,13 +134,13 @@ class ShortLetterRepositories
|
|
|
$mail->Port = 465;
|
|
$mail->Port = 465;
|
|
|
|
|
|
|
|
//Recipients
|
|
//Recipients
|
|
|
- $mail->setFrom('mybotao@163.com', '优交所');
|
|
|
|
|
|
|
+ $mail->setFrom('mybotao@163.com', '优交坊');
|
|
|
$mail->addAddress($phone); //Add a recipient
|
|
$mail->addAddress($phone); //Add a recipient
|
|
|
|
|
|
|
|
|
|
|
|
|
//Content
|
|
//Content
|
|
|
$mail->isHTML(true); //Set email format to HTML
|
|
$mail->isHTML(true); //Set email format to HTML
|
|
|
- $mail->Subject = '【优交所】验证码';
|
|
|
|
|
|
|
+ $mail->Subject = '【优交坊】验证码';
|
|
|
$mail->Body = '您的验证码为:' . $data['code'] . ',若非本人操作,请勿泄露。验证码5分钟内有效。';
|
|
$mail->Body = '您的验证码为:' . $data['code'] . ',若非本人操作,请勿泄露。验证码5分钟内有效。';
|
|
|
$mail->CharSet = "utf-8";
|
|
$mail->CharSet = "utf-8";
|
|
|
$res = $mail->send();
|
|
$res = $mail->send();
|