Contact Us Form Sender

I'm trying to figure out how to change who the sender is when someone submits the Contact Us form at contact.php

 

I've looked through the file contact.php but I can't seem to find where to change who the sender is. Currently it send the form via email to to whatever email address is set as "Site Email" in basic settings in admin panel and the sender of the email is "Site Email Notify" which is set in basic settings and the senders email is just added to the bottom of the email like
"===========

Sent from email@email.com"

But the actual email headers say it is sent from the email address that is set in the basic settings of the admin panel as Site Email Notify. I've noticed there is a simple code "$sSenderEmail" that is the actual senders email but I cannot how to make that as the address that is in the headers of the email. Any help is welcomed.

Quote · 3 May 2011

Any help at all please?

Quote · 4 May 2011

Hello try to change email address in inc/header.inc.php

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 4 May 2011

But I don't want to change the email address for the whole site. I only want the contact us form to use the actual senders email address as the "From:" email address in the email headers.

I've been looking at utils.inc.php and I've found a lot of lines about sendmail and form submission. But still, I only want the contact us form to use the actual sender's email as the "From:" address in the email headers.

Quote · 5 May 2011
 
 
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.