title: Send mail() with php and google apps mx record on 000webhost, and some questions
body: <p>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 <code>000webhost</code> 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.</p>
  
  <p>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:</p>
  
  <p><strong>Info</strong> info@mydomain.com <em>through</em> <strong>srv19.000webhost.com</strong> </p>
  
  <p>Shouldn't the service be Google's one? I changed the MX record, but don't know.</p>
  
  <p>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?</p>
  
  <p>I hope you help me</p>