I have an account with Host Gator that allows me to create my own email address's. I created my own email address, lets say its called "myemail@mydomain.com". Now I have a PHP script that automatically send out emails to users but when the emails are sent they are sent by my servers defualt email address. There is no way for me to change my servers default email address so how can I make the PHP mail send emails from the myemail@mydomain.com?

Ask Hostgator to set your own email address to default email address of a hosting account