Skip to content

Commit

Permalink
Added a cat pic
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico committed Jun 17, 2023
1 parent 26fc482 commit 57be68b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file added intermediate_projects/email_sender/cat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion intermediate_projects/email_sender/credentials.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
IMPORTANT NOTE!
Never hardcode sensitive information into your scripts. You never know who
NEVER hardcode sensitive information into your scripts. You never know who
will get their hands on your script someday.
ALWAYS load sensitive from an external source that is not located in
Expand Down
2 changes: 1 addition & 1 deletion intermediate_projects/email_sender/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def send_email(to_email: str, subject: str, body: str, image: Any = None):
server.login(credentials.EMAIL, credentials.PASSWORD) # NEVER INCLUDE SENSITIVE VALUES IN YOUR SCRIPTS!!!

# Prepare the email
print('Attempting to send the message...')
print('Attempting to send the email...')
message = MIMEMultipart()
message['From'] = credentials.EMAIL
message['To'] = to_email
Expand Down

0 comments on commit 57be68b

Please sign in to comment.