Send Emails Over SMTP

How to send emails over SMTP?