Mibew Messenger Community

Contributions => Plugins, tips, and tricks => Topic started by: pmcdermott on January 21, 2009, 01:45:35 PM

Title: Email Notifaction
Post by: pmcdermott on January 21, 2009, 01:45:35 PM
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
Title: Re: Email Notifaction
Post by: TotalInternet on January 28, 2009, 08:28:36 PM
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