seanfaheymedia commited on
Commit
0528668
·
verified ·
1 Parent(s): cc1ea0b

Update email_agent.py

Browse files
Files changed (1) hide show
  1. email_agent.py +1 -1
email_agent.py CHANGED
@@ -10,7 +10,7 @@ def send_email(subject: str, html_body: str) -> Dict[str, str]:
10
  """ Send an email with the given subject and HTML body """
11
  sg = sendgrid.SendGridAPIClient(api_key=os.environ.get('SENDGRID_API_KEY'))
12
  from_email = Email("sean@faheymedia.ie") # put your verified sender here
13
- to_email = To("seanfaheyire@gmail.com") # put your recipient here
14
  content = Content("text/html", html_body)
15
  mail = Mail(from_email, to_email, subject, content).get()
16
  response = sg.client.mail.send.post(request_body=mail)
 
10
  """ Send an email with the given subject and HTML body """
11
  sg = sendgrid.SendGridAPIClient(api_key=os.environ.get('SENDGRID_API_KEY'))
12
  from_email = Email("sean@faheymedia.ie") # put your verified sender here
13
+ to_email = To("sean@faheymedia.ie") # put your recipient here
14
  content = Content("text/html", html_body)
15
  mail = Mail(from_email, to_email, subject, content).get()
16
  response = sg.client.mail.send.post(request_body=mail)