How do I create SMTP server local PC home?

Hallo TechGurus! I am developing an email system for my news website. The email script should be able to work in the remote server using the host SMTP server. How do I create SMTP server local PC home to be able to test my script before uploading it. Thanks a lot for your help.
