E-mail notification to the customer after the message board replies
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 ['text'];
- ReGbook ($ lyid, $ retext, $ bid, $ logininid, $ loginin );
- }
----------------------------------------------------------
Modify:
----------------------------------------------------------
- Elseif ($ enews = "ReGbook ")
- {
- $ Lyid = $ _ POST ['lyid'];
- $ Bid = $ _ POST ['bid'];
- $ Retext = $ _ POST ['text'];
- $ Email = $ _ POST ['email '];
- $ 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.
|
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:
|
CMS, EMAIL