mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix -better debugging before sending emails
This commit is contained in:
parent
b31c084b53
commit
52b54da354
1 changed files with 3 additions and 0 deletions
|
@ -1960,6 +1960,9 @@ async def send_email(receiver_email, subject, html):
|
|||
email_message["From"] = sender_email
|
||||
email_message["To"] = receiver_email
|
||||
email_message["Subject"] = subject
|
||||
verbose_proxy_logger.debug(
|
||||
"sending email from %s to %s", sender_email, receiver_email
|
||||
)
|
||||
|
||||
# Attach the body to the email
|
||||
email_message.attach(MIMEText(html, "html"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue