<bdo id='MOvgi'></bdo><ul id='MOvgi'></ul>
    <legend id='MOvgi'><style id='MOvgi'><dir id='MOvgi'><q id='MOvgi'></q></dir></style></legend>
    1. <i id='MOvgi'><tr id='MOvgi'><dt id='MOvgi'><q id='MOvgi'><span id='MOvgi'><b id='MOvgi'><form id='MOvgi'><ins id='MOvgi'></ins><ul id='MOvgi'></ul><sub id='MOvgi'></sub></form><legend id='MOvgi'></legend><bdo id='MOvgi'><pre id='MOvgi'><center id='MOvgi'></center></pre></bdo></b><th id='MOvgi'></th></span></q></dt></tr></i><div id='MOvgi'><tfoot id='MOvgi'></tfoot><dl id='MOvgi'><fieldset id='MOvgi'></fieldset></dl></div>
    2. <tfoot id='MOvgi'></tfoot>

      <small id='MOvgi'></small><noframes id='MOvgi'>

    3. dedecms支付宝支付成功后发送邮件通知站长的方法

      时间:2023-06-13

            <tfoot id='Dg3XZ'></tfoot>
              <bdo id='Dg3XZ'></bdo><ul id='Dg3XZ'></ul>
                <tbody id='Dg3XZ'></tbody>
              • <legend id='Dg3XZ'><style id='Dg3XZ'><dir id='Dg3XZ'><q id='Dg3XZ'></q></dir></style></legend>
                <i id='Dg3XZ'><tr id='Dg3XZ'><dt id='Dg3XZ'><q id='Dg3XZ'><span id='Dg3XZ'><b id='Dg3XZ'><form id='Dg3XZ'><ins id='Dg3XZ'></ins><ul id='Dg3XZ'></ul><sub id='Dg3XZ'></sub></form><legend id='Dg3XZ'></legend><bdo id='Dg3XZ'><pre id='Dg3XZ'><center id='Dg3XZ'></center></pre></bdo></b><th id='Dg3XZ'></th></span></q></dt></tr></i><div id='Dg3XZ'><tfoot id='Dg3XZ'></tfoot><dl id='Dg3XZ'><fieldset id='Dg3XZ'></fieldset></dl></div>

                <small id='Dg3XZ'></small><noframes id='Dg3XZ'>

                我们有时候在用dedecms需要及时获取到会员支付信息,比如会员支付成功后发邮件通知我们,这个要怎么操作呢?

                打开 include/payment/alipay.php 文件,找到

                $this->log_result("verify_success,订单号:".$order_sn); //将验证结果存入文件

                在此代码下面添加如下代码(部分代码需要修改)

                $mailbody = '';
                
                $mailtitle = "订单号:".$order_sn."支付成功!";
                
                $mailbody .= "这里是提示信息";
                
                $email='123456@qq.com';//改为要接收邮件的邮箱
                
                $cfg_sendmail_bysmtp = 'Y';
                
                $cfg_smtp_server = 'smtp.qq.com'; //qq邮件服务器地址
                
                $cfg_smtp_port = '25'; //端口号,默认为25
                
                $cfg_smtp_usermail = '123456@qq.com'; //发件邮箱地址
                
                $cfg_smtp_user = 'down.genban.org'; //名称
                
                $cfg_webname = '某某网站'; //站名称
                
                $cfg_smtp_password = 'password'; //发件邮箱密码
                
                $headers = "From: ".$cfg_smtp_usermail."/r/nReply-To: ".$cfg_smtp_usermail;
                
                if($cfg_sendmail_bysmtp == 'Y' && !empty($cfg_smtp_server))
                
                {
                
                $mailtype = 'TXT';
                
                require_once(dirname(__FILE__)."/../mail.class.php");
                
                $smtp = new smtp($cfg_smtp_server,$cfg_smtp_port,true,$cfg_smtp_usermail,$cfg_smtp_password);
                
                $smtp->debug = false;
                
                $smtp->sendmail($email,$cfg_webname,$cfg_smtp_usermail, $mailtitle, $mailbody, $mailtype);
                
                }
                
                else
                
                {
                
                @mail($email, $mailtitle, $mailbody, $headers);
                
                }
                上一篇:dedecms织梦tag增加属性分类及调用 下一篇:没有了

                相关文章

              • <i id='02Wcy'><tr id='02Wcy'><dt id='02Wcy'><q id='02Wcy'><span id='02Wcy'><b id='02Wcy'><form id='02Wcy'><ins id='02Wcy'></ins><ul id='02Wcy'></ul><sub id='02Wcy'></sub></form><legend id='02Wcy'></legend><bdo id='02Wcy'><pre id='02Wcy'><center id='02Wcy'></center></pre></bdo></b><th id='02Wcy'></th></span></q></dt></tr></i><div id='02Wcy'><tfoot id='02Wcy'></tfoot><dl id='02Wcy'><fieldset id='02Wcy'></fieldset></dl></div>

                <small id='02Wcy'></small><noframes id='02Wcy'>

                  <bdo id='02Wcy'></bdo><ul id='02Wcy'></ul>
                <legend id='02Wcy'><style id='02Wcy'><dir id='02Wcy'><q id='02Wcy'></q></dir></style></legend>
                    <tfoot id='02Wcy'></tfoot>