Commit 74a24359 authored by 顾文旭's avatar 顾文旭

email

parent d8ab468e
......@@ -17,7 +17,7 @@ class Email
* @param string $content_type body内容的格式和编码, 可支持html格式邮件 $content_type="Content-Type: text/html; charset=\"utf-8\"\r\n\r\n"
* @return bool
*/
public static function sendMail($from, $to, $subject, $body, $smtp_server, $smtp_port, $content_type)
public static function sendMail($from, $to, $subject, $body, $smtp_server = 'smtp.mxhichina.com', $smtp_port = 25 , $content_type = 1)
{
$smtp_to = 'bp_all@linkingcities.com';
$smtp_host = 'smtp.mxhichina.com'; //SMTP服务器地址
......
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