Unable to send email.

I want to send mail using my localserver. I can’t find any guide. I have added the DNS records but still nothing is working.