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.