SendingEmailsWithPython

This code is made to send the message from a gmail address only...

To set up a Gmail address for testing this code, do the following:

  • Create a new Google account.
  • Enable IMAP access To enable IMPAP access: Go to your Gmail inbox. Go to settings On Forwarding and POP/IMAP, set IMAP access to "Enable IMAP". Save Changes.
  • Turn Allow less secure apps to ON. To turn on 'less secure apps' settings: Go to your (Google Account). On the left navigation panel, click Security. On the bottom of the page, in the Less secure app access panel, click Turn on access. Click the Save button.