Skip to content

hr21don/Send-An-Email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

  • from EmailSender import send_email
  • send_email('xxxxxxxxx@gmail.com' , 'Notification' , 'Everything is cool bro!')

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:

  • Switch on Less secure App Access as shown in the figure below.

Capture

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages