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.
