Contact Us Form

Hello again Dolphineers. I hope this is a simple one to figure out.

First off, I have 3 different users for the site in question. There is the admin account (me), there is a staff level account, and there is a client level account. Also, I am using 7.1.3.

Heres my dilemma. When submitting the contact us form, it is default to send the email to the admins email. Is there a way to change this? I need to keep all other emails that go to the admin email as is (such as the periodic reports). Does anyone know how I can change the destination email of the contact us form to the email of the staff account instead.

Any help would be greatly appreciated. Thanks in advance.

caredesign.net
Quote · 6 Jul 2013

NVm - I figured it out. Maybe I just needed to type the question out to get the answer for myself.

 

My solution:

In the header.inc.php file, I added the following line:

$site['staffemail']        = "staffemail@site.com";

In the contact.php file - around line 137 I changed:

if (sendMail($site['email'], $sLetterSubject, $sLetterBody)) {

to:

 if (sendMail($site['staffemail'] , $sLetterSubject, $sLetterBody)) {

caredesign.net
Quote · 6 Jul 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.