Hello,
Thanks for the question about receiving mail in your website through code. While providing coding support is beyond the scope of technical support, we do have many articles that my provide the solution that you need. You may want to check out how to create a php contact form from our tutorials. We also have a large section on our support website called Everything Email if you're just starting out and learning the features that can be found on your InMotion Hosting account.
I hope that helps to answer your question! If you require further assistance, please let us know!
Regards,
Arnel C.