Completed SMTP basics