dede邮箱发送
//发送邮件
require_once(DEDEINC.'/mail.class.php'); $smtp = new smtp($cfg_smtp_server,$cfg_smtp_port,true,$cfg_smtp_usermail,$cfg_smtp_password);//创建smtp服务 $smtp->debug = false;//不起用调试 $headers = $cfg_adminemail; $send_content = "马场:{$mach}; 姓名:{$name}; 电话:{$phone} 年龄:{$age}"; //发送邮件 $smtp = new smtp($cfg_smtp_server,$cfg_smtp_port,true,$cfg_smtp_usermail,$cfg_smtp_password);//创建smtp服务 $smtp->debug = false;//不起用调试 $smtp->sendmail($cfg_collect_email,$cfg_webname ,$cfg_smtp_usermail, '体验预约报名', $send_content, 'TXT');//发送邮件