MCPcopy Index your code
hub / github.com/geekcomputers/Python / sendEmail

Function sendEmail

JARVIS/JARVIS_2.0.py:78–84  ·  view source on GitHub ↗
(to, content)

Source from the content-addressed store, hash-verified

76
77
78def sendEmail(to, content):
79 server = smtplib.SMTP("smtp.gmail.com", 587)
80 server.ehlo()
81 server.starttls()
82 server.login("youremail@gmail.com", "yourr-password-here")
83 server.sendmail("youremail@gmail.com", to, content)
84 server.close()
85
86
87import openai

Callers 1

get_appFunction · 0.70

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected