Hi am kinda stuck here, so please if anyone could help me,i have 2 domains working on same hosting, one is Main Domain and other Addon, am using mail() function in Addon Dowmain website. everything is working fine, problem is script is running on addon domain but when people get mails, it shows other domain's name i.e. maindomain's so please if anyone can tell me how i can change this thing that when people get mail it shows From:Addon domain.
and i donot have ini.php file or whatever it is, because both of my websites are running over hosting company's server.
Thanx in advance