Skip to the content.

Send-An-Email

Your goal for this challenge is to write a Python function to send a basic email notification.

Input

At a minimum the function should have input parameters for the receiving email address, a subject line, and the message body.

Output

Check Gmail Account

Email should appear in inbox as shown in the figure below.

Capture

Tips

Keep in mind though, that some services may require you to configure your account security settings, to send an email from Python.

For gmail accounts:

Capture