logger = logging.getLogger()
def send_email():
try:
smtp.send("UPDATED: Introducing...")
loger.information("sent!')
except:
# oh, it didn't send, try again
# no other possible reason why this would fail
send_email() https://x.com/ebooksyearn/status/1577094429260873728
Post
October 4, 2022