Implement sending e-mail through SMTP