mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
/s/sender/from in resend calls
This commit is contained in:
parent
2076543e32
commit
4b3d3fe7ea
1 changed files with 3 additions and 3 deletions
|
@ -42,7 +42,7 @@ async def send_welcome_email(name, email):
|
|||
|
||||
r = resend.Emails.send(
|
||||
{
|
||||
"sender": "team@khoj.dev",
|
||||
"from": "team@khoj.dev",
|
||||
"to": email,
|
||||
"subject": f"{name}, four ways to use Khoj" if name else "Four ways to use Khoj",
|
||||
"html": html_content,
|
||||
|
@ -68,7 +68,7 @@ async def send_query_feedback(uquery, kquery, sentiment, user_email):
|
|||
# send feedback from two fixed accounts
|
||||
r = resend.Emails.send(
|
||||
{
|
||||
"sender": "saba@khoj.dev",
|
||||
"from": "saba@khoj.dev",
|
||||
"to": "team@khoj.dev",
|
||||
"subject": f"User Feedback",
|
||||
"html": html_content,
|
||||
|
@ -91,7 +91,7 @@ def send_task_email(name, email, query, result, subject):
|
|||
|
||||
r = resend.Emails.send(
|
||||
{
|
||||
"sender": "Khoj <khoj@khoj.dev>",
|
||||
"from": "Khoj <khoj@khoj.dev>",
|
||||
"to": email,
|
||||
"subject": f"✨ {subject}",
|
||||
"html": html_content,
|
||||
|
|
Loading…
Reference in a new issue