Form e-mail

Permalink
Hi all,

sorry for the length of this message but I need help and want to explain it correctly. I am having issues with the e-mail that is in the "from" field when sent using my website.

Little background:
I have two concrete sites that are both linked to Google apps

Site #1 is my main domain namehttp://www.site1.com

Site #2 (www.site2.org) is re-directed to a subdomain of site 1
"site2.site1.com"

Both sites have user registration and forms on teh website that are e-mailed out.

Site 2 works perfect. When somebody registers or send an e-mail using a form on the website, they receive is from admin@site2.com

The problem is with site 1. When somebody registers, they get an e-mail from admin@site2.com INSTEAD of admin@site1.com

I have added the from e-mail code to teh site.php file on both sites and still no luck.

Any help? I hope you are able to follow this.