Contributions > Plugins, tips, and tricks
Email Notifaction
(1/1)
pmcdermott:
To have an email sent to a pre determined email address when a user clicks on "Ask your Question" button, add a line after line 57 in client.php:
mail("$to","$subject","$message","From: $from\r\n");
$to -> recipient's email address (rfc822 address)
$subject -> email subject
$message -> email message
$from -> sender's email address (rfc822 address)
This is assuming that php.ini/email server has been setup correctly!!
This functionality allows me to monitor the inbound requests easily and not have the need to have the agent page constantly visible
TotalInternet:
Where is chats.php
the build i have, 1.5.1,
has these files with chat in the filename:
chat.css
chat.js
chat.php
wmchat.png
wmchat.png
agentchat.tpl
agentrochat.tpl
chatsimple.tpl
chat.tpl
nochat.tpl
wmchat.png
agentchat.tpl
agentrochat.tpl
chatsimple.tpl
chat.tpl
nochat.tpl
Also, where is the "Ask a Question" button?
Thanks.
~Lance
www.totalinternethosting.com
Navigation
[0] Message Index
Go to full version