From 05ec03258723744d1c2c775d9def774f2cebd519 Mon Sep 17 00:00:00 2001 From: Aayush <76210958+Aayush2424@users.noreply.github.com> Date: Sat, 2 Jan 2021 15:38:18 +0530 Subject: [PATCH] Updated the sendEmail function parameter typo --- JARVIS/JARVIS.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JARVIS/JARVIS.py b/JARVIS/JARVIS.py index e16d242097d..306ce10160c 100644 --- a/JARVIS/JARVIS.py +++ b/JARVIS/JARVIS.py @@ -49,7 +49,7 @@ def speak_news(): speak('These were the top headlines, Have a nice day Sir!!..') -def sendEmail(do, content): +def sendEmail(to, content): server = smtplib.SMTP('smtp.gmail.com', 587) server.ehlo() server.starttls()