I have search from the Internet on this problem, as a web developer you may face this problem, many solutions out there but this is the that work for me, so I decided to write it and share it.
To Send Email from your localhost computer with authentication required from mail server, please follow this simple steps, on my configuration my XAMPP is located on:
1. Modify sendmail.ini
The configuration file is located at C:\xampp\sendmail\sendmail.ini, and please have a look on 4 variables, they are :