send mail XAMMP

Submitted by: 
A tutorial on how to send email/verification email on sign up/register using the mail() function on both the local server or hosted server.