When i send emails from my website using the mail() function the email goes with my hosting server domain instead of mine(marlon.com or info@marlon.com). Please any help will be appreciated. Thanks

Pass a third parameter into the mail() function with a list of headers, specifically, specifying the From email address that you'd like to use.

http://www.w3schools.com/php/func_mail_mail.asp

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.