I just recently purchased a cpanel hosting service with GoDaddy. Next I set up hosting for a domain which was registered on a different GoDaddy account. For this I edited the DNS record in the second account (the one which registered the domain) to point to the ip of my cpanel server. This worked just fine.
The problem is when I set up an email (using cpanel), I can't send or receive emails to/from the domain. Not sure how to set up the MX records but tried by setting the MX record to point to mail.mydomain.com and created an A record to point mail.mydomain.com to the ip of the cpanel server. This isn't working, not sure how to proceed from here and would appreciate any help.