Your goal for this challenge is to write a Python function to send a basic email notification.
At a minimum the function should have input parameters for the receiving email address, a subject line, and the message body.
- from EmailSender import send_email
- send_email('xxxxxxxxx@gmail.com' , 'Notification' , 'Everything is cool bro!')
Email should appear in inbox as shown in the figure below.
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:
- Switch on Less secure App Access as shown in the figure below.