if(!isset($inspacecpshare)) { showmessage($return , $url, $modpost->param('showmsgparam')); } |
if($firstpost['author'] != $_G['uid']){ $tomail = reset(C::t('common_member')->fetch_all_by_username($firstpost['author'])); $mail_subject = '您的帖子有新回復(fù)!'; $mail_message = <<<EOT <table cellpadding="6" cellspacing="0" width="100%" style="width:650px;margin:0 auto;font-size:12px;"> <tbody><tr> <td width="640" style="border-bottom:1px solid #e0e0e0;text-align:right;" colspan="2"> <table cellpadding="0" cellspacing="0"> <tbody><tr> <td valign="bottom"><img src="http://www.dz7.com.cn/template/dz7_tuhao1/images/logo.png" style="vertical-align: bottom"></td> <td width="600" style="text-align:right" valign="bottom"><a href="http://www.dz7.com.cn/member.php?mod=logging&action=login" style="font-size:14px;color:#0082d5;text-decoration:none;" target="_blank">登錄</a> | <a href="http://www.dz7.com.cn/member.php?mod=register" style="font-size:14px;color:#0082d5;text-decoration:none" target="_blank">注冊(cè)</a></td> </tr> </tbody></table> </td> </tr> <tr> <td style="font-size:14px;line-height:25px;">尊敬的DZ起點(diǎn)網(wǎng)會(huì)員:<span style="border-bottom: 1px dashed rgb(204, 204, 204); z-index: 1; position: static;" t="7" data="{$firstpost['author']}" isout="1">{$firstpost['author']}</span><br><br>有新網(wǎng)友回復(fù)了您在起點(diǎn)網(wǎng)發(fā)布的帖子《<a href="http://www.dz7.com.cn/discuz-{$firstpost['tid']}-1-1.html" target="_blank">{$firstpost['subject']}</a>》<br><br>詳情請(qǐng)點(diǎn)擊這里打開(kāi)查看:<a href="http://www.dz7.com.cn/discuz-{$firstpost['tid']}-1-1.html">http://www.dz7.com.cn/discuz-{$firstpost['tid']}-1-1.html</a>。<br><br>DZ起點(diǎn)網(wǎng),您的堅(jiān)強(qiáng)后盾!</td> </tr> <tr> <td style="text-indent:1.3em;font-size:14px;line-height:25px;border-bottom:1px solid #e0e0e0"><br></td> </tr> <tr> <td style="color:#8a8a8a;font-size:12px;padding-left:24px;line-height:20px;"><br><div style="text-align: center;"><img src="https://set3.mail.qq.com/cgi-bin/download?sid=o98wstGkas_ITGI6&upfile=nnTDFYo6EOWktJwwFfeKsGThsfTBA4MSoChZT6Ln501bLjpernjAItEu3H8eNv0v4MVo7imxxO%2F9K7OhWM3L5EbZqCtNtEA4PiDgltAlJP7b6cJiwrTeNsbLmCITuQMI" modifysize="25%" diffpixels="-1px" style="width: 124px; height: 125px;"> </div><div style="text-align: center;"><span style="text-align: start;">如有任何疑問(wèn),可以添加DZ起點(diǎn)網(wǎng)站長(zhǎng)QQ、微信進(jìn)行咨詢!</span></div></td> </tr> <tr> <td style="color:#8a8a8a;font-size:12px;padding-left:24px;line-height:20px;">每一位DZ起點(diǎn)網(wǎng)的會(huì)員人,都在默默無(wú)聞的,幫助著新手站長(zhǎng)朋友快速成長(zhǎng),解決站長(zhǎng)朋友們?cè)诮ㄕ具^(guò)程中的疑問(wèn)!<br><div style="text-align: right;">-- DZ起點(diǎn)網(wǎng)</div></td></tr> </tbody></table> EOT; if(!function_exists('sendmail')) { include libfile('function/mail'); } sendmail($tomail['email'], $mail_subject, $mail_message); } 復(fù)制代碼 |
版權(quán)聲明: 本站資源均來(lái)自互聯(lián)網(wǎng)或會(huì)員發(fā)布,如果侵犯了您的權(quán)益請(qǐng)與我們聯(lián)系,我們將在24小時(shí)內(nèi)刪除!謝謝!
轉(zhuǎn)載請(qǐng)注明: Discuz sendmail函數(shù)實(shí)現(xiàn) 發(fā)表回帖郵件通知樓主方法