Need help with the Mail function of PHP

Avatar
  • Answered
sir. i have hosted my website on freehosting.com and i want to send email from the website (and have not bought any email service also )but anable to do so my code is. "; } else { echo "mail sent"; } } ?> what to do please suggest.
Avatar
Arn
Hello, Thanks for the question about using the php mail function on your hosting service. We, unfortunately, do not provide support for coding your website. However, we can point you in the direction of some guides that may help. Check out our tutorial on Using the PHP mail function to send emails. Additionally, you may want to consult sources like this forum post that provide possible answers to your question. If you continue to have problems after using correct code, then you may need to speak with your host's technical support team, or a developer. If you have any further questions, please let us know. Kindest regards, Arnel C.