I am making the validation part of the account registration of my website, where a message is sent to the user email with a link to validate the account. I am using `000webhost` hosting. I've read that their mail service is poor and that I should get Google Apps service. So I did, I changed the MX record to Google's.

But when I use the mail() function, it is still sent by 000webhosts service; I tested it sending a message to my account and the sender is:

**Info** info@mydomain.com *through* **srv19.000webhost.com** 

Shouldn't the service be Google's one? I changed the MX record, but don't know.

And another question, what happens if I create a mail @mydomain.com with Google Apps, and another one with the same adress in my hosting CPanel?

I hope you help me