adding send command
This commit is contained in:
parent
de5c00ce15
commit
33d6a2f6a3
@ -14,6 +14,6 @@ def handle_storage_event(event, context):
|
||||
|
||||
mail = Mail(from_email, to_emails, subject, content)
|
||||
sg = SendGridAPIClient()
|
||||
|
||||
response = sg.send(mail)
|
||||
print(response.status_code) # for logging purpose
|
||||
print(response.headers)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user