ecs_mail_templates郵件模板表中插入一條注冊發(fā)送郵件的記錄。INSERT INTO ecs_mail_templates" />
/* 注冊會員郵件歡迎 */$tpl = get_mail_template('send_reg');$smarty->assign('shop_name', $_CFG['shop_name']);$smarty->assign('send_date', date($_CFG['time_format']));$smarty->assign('user_name',$username);$content = $smarty->fetch('str:' . $tpl['template_content']);send_mail($_CFG['shop_name'], $email, $tpl['template_subject'], $content, $tpl['is_html']);
user.php 大概234行->/* 寫入密碼提示問題和答案 */這個判斷的下面增加如下代碼:
/* 注冊會員郵件歡迎 */$tpl = get_mail_template('send_reg');$smarty->assign('shop_name', $_CFG['shop_name']);$smarty->assign('send_date', date($_CFG['time_format']));$smarty->assign('user_name',$username);$content = $smarty->fetch('str:' . $tpl['template_content']);send_mail($_CFG['shop_name'], $email, $tpl['template_subject'], $content, $tpl['is_html']);
版權(quán)聲明: 本站資源均來自互聯(lián)網(wǎng)或會員發(fā)布,如果侵犯了您的權(quán)益請與我們聯(lián)系,我們將在24小時內(nèi)刪除!謝謝!
轉(zhuǎn)載請注明: ecshop會員注冊自動發(fā)送郵件歡迎信息修改方法