1.Ê×ÏÈÔÚÖ¯ÃÎÍøÕ¾ºǫ́£¬½øÈëϵͳ--ϵͳ»ù±¾²ÎÊý--ºËÐÄÉèÖÃÀïÃ棬Åä¸øÓʼþ·¢ËÍ·þÎñ£¬ÈçÏÂͼ£º
´ò¿ªÍøÕ¾¸ùĿ¼ÏµÄplusÎļþ¼Ð£¬ÀïÃæÓиödiy.phpÎļþ£¨±íµ¥Ìá½»ºó´¦ÀíÎļþ£©£¬´ò¿ªËü£¬ÔÚ85ÐÐÉÏÏÂÓÐÈçÏ´úÂ룺 $query = "INSERT INTO `{$diy->table}` (`id`, `ifcheck` $addvar) VALUES (NULL, 0 $addvalue); ";Õâ¸ö´úÂë¾ÍÊǽ«±íµ¥Êý¾ÝдÈëÊý¾Ý¿â£¬ÄÇôÎÒÃǾÍÔÚËûÏ·½£¬¼ÓÉÏ·¢ËÍÓʼþµÄ¹¦ÄÜ£º
Õâ¸ö¾Í¿ÉÒÔÊÕµ½ÓʼþÁË£¬¿ÉÄÜÊÕµ½µÄÓʼþ»¹»áÓÐÂÒÂëµÄÇé¿ö£¬
$query = "INSERT INTO `{$diy->table}` (`id`, `ifcheck` $addvar) VALUES (NULL, 0 $addvalue); ";$mailtitle = $name."[Ìá½»±íµ¥Í¨Öª]";$mailbody = "ÐÕÃû:{$name}\r\n ÊÖ»ú:{$tel}\r\n QQ:{$qq}\r\n ÁôÑÔ:{$textarea}\r\n Ìύʱ¼ä:{$time}\r\n";$headers = $cfg_adminemail;$mailtype = 'TXT';require_once(DEDEINC.'/mail.class.php');$smtp = new smtp($cfg_smtp_server,$cfg_smtp_port,true,$cfg_smtp_usermail,$cfg_smtp_password);$smtp->debug = false;//$smtp->sendmail($cfg_smtp_usermail,$cfg_webname ,$cfg_smtp_usermail, $mailtitle, $mailbody, $mailtype);//·¢ËÍÓʼþ (Õâ¸öÊÇ·¢¸ø¹ÜÀíÔ±×Ô¼º)
ÈçÒª·¢¸øÆäËûÈË£¬½«ÉÏÃæµÄ´úÂë ÐÞ¸ÄÏÂÃæµÄ $cfg_smtp_usermail2="XXXXX@qq.com,yyyyyy@qq.com"; //·¢ËͶàÈËÓʼþ$smtp->sendmail($cfg_smtp_usermail2,$cfg_webname ,$cfg_smtp_usermail, $mailtitle, $mailbody, $mailtype);
ÕÒµ½include/mail.class.php ½«£º
$header .= "Content-Type:text/html \r\n";
¸ÄΪ£º
$header .= "Content-Type:text/html; charset=utf-8\r\n";
ÂÒÂëÎÊÌâ½â¾ö¡££¨Õâ¸öÒ²¿ÉÒÔ½â¾ödedecms»áԱϵͳ·¢ËÍÑéÖ¤ÓʼþÂÒÂëÎÊÌ⣩
±¾Õ¾»¶ÓÈκÎÐÎʽµÄתÔØ£¬µ«ÇëÎñ±Ø×¢Ã÷³ö´¦£¬×ðÖØËûÈËÀͶ¯³É¹û
תÔØÇë×¢Ã÷£º ÎÄÕÂתÔØ×Ô£º°®Ë¼×ÊÔ´Íø http://www.aseoe.com/show-26-491-1.html
תÔØÇë×¢Ã÷£º ÎÄÕÂתÔØ×Ô£º°®Ë¼×ÊÔ´Íø http://www.aseoe.com/show-26-491-1.html