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.