After the reply from the daguo CMS message board, an EMAIL is sent to notify the customer of cmsemail.

Source: Internet
Author: User

After the reply from the daguo CMS message board, an EMAIL is sent to notify the customer of cmsemail.

Note: Modify 1: e/admin/tool/ReGook. php/* reply form */

43 Add code at the row
Bytes -----------------------------------------------------------------------------------------------
Copy codeThe Code is as follows:
<Input name = "email" type = "hidden" id = "email" value = "<? = $ R [email]?> ">/* Get the user's EMIAL address */
<Input name = "lytext" type = "hidden" id = "lytext" value = "<? = $ R [lytext]?> ">/* Get the user's message */

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

67 rows add form selection items

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

<Tr bgcolor = "# FFFFFF"> <td height = "25"> notice readers: </td> <td height = "25"> <input name = "checked []" type = "checkbox" id = "checked []" value = "" title =" send an Emial notification to the scholar "style =" background: #99C4E3 "> <span style =" color: red "> bookmates Email: <? = $ R [email]?> </Span> </td> </tr>

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.