This is my first post in dev.to.
As a beginner developer and as a practice exercise, I have learned how to send an HTML Email template using Pytho...
For further actions, you may consider blocking this person and/or reporting abuse
Hi. Can i know what env = Environment(
loader=FileSystemLoader('%s/templates/' % os.path.dirname(file))) means in this script
whether we should change the path if we are using Ubuntu?
Thank you.
stackoverflow.com/questions/927146...
Hi
i am new to python ,may i know what is "event, context" what should i put in ?
def send_movie_list(event, context):
json_data = get_data()
template = env.get_template('child.html')
output = template.render(data=jsonData[0])
send_mail(output)
return "Mail sent successfully."
Great article - worked like a charm!
This was super helpful! Helped me start up my own email project!