Web and API based SMTP testing