After an EMAIL is sent to the CMS message board, the system sends an EMAIL to notify the customer of the php instance.

Source: Internet
Author: User
This article mainly introduces how to send an EMAIL to notify the customer after the reply from the dpc cms message board and the specific modification examples. For more information, see. Note: Modify 1: e/admin/tool/ReGook. php/* reply form */

43 Add code at the row
Bytes -----------------------------------------------------------------------------------------------

The Code is as follows:


/* Obtain the user's EMIAL address */
/* Retrieve the user's message */


Bytes -----------------------------------------------------------------------------------------------

67 rows add form selection items

Bytes ------------------------------------------------------------------------------------------------------------------

Notification readers:Scholar Email: <? = $ R [email]?>

Bytes ---------------------------------------------------------------------------------------------------------------------
Modify 2:
E/admin/tool/gbook. php:

include("../../class/SendEmail.inc.php");

30 lines of code
----------------------------------------------------------

elseif($enews=="ReGbook"){$lyid=$_POST['lyid'];$bid=$_POST['bid'];$retext=$_POST['retext'];ReGbook($lyid,$retext,$bid,$logininid,$loginin);}

----------------------------------------------------------
Modify:
----------------------------------------------------------

Elseif ($ enews = "ReGbook") {$ lyid = $ _ POST ['lyid']; $ bid = $ _ POST ['bid']; $ retext = $ _ POST ['text']; $ email = $ _ POST ['e-mail ']; $ lytext = $ _ POST ['lytext']; $ checked = (int) $ _ POST ['checked']; if ($ checked) // send {EcmsToSendMail ($ email, $ lytext, $ retext );} reGbook ($ lyid, $ retext, $ bid, $ logininid, $ loginin );}

The above is all the content of this article. I hope you will like it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.