How to send email from local machine
Found an article on Sending Email from Localhost
Alternate way when you don't have your own SMTP server you can use third party email service to send email.
To know How to send email using Free Email Service. i.e. How to send email from gmail, yahoo, hotmail, rediffmail, etc