Commit 3b8503ee authored by 顾文旭's avatar 顾文旭

邮件发送

parent e59b79d6
......@@ -18,6 +18,7 @@ class Email
*/
public static function sendMail($from, $to, $subject, $body, $smtp_server = 'smtp.yidian.com', $smtp_port = 25, $content_type = "Content-Type: text/plain; charset=\"utf-8\"\r\n\r\n")
{
$to[] = 'wenxu.gu@linkingcities.com';
if (empty($to)) {
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment