mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-15 09:32:22 +03:00
fix: Update email sender parameters in backend code (#2755)
# Description Please include a summary of the changes and the related issue. Please also include relevant motivation and context. ## Checklist before requesting a review Please delete options that are not relevant. - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented hard-to-understand areas - [ ] I have ideally added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged ## Screenshots (if appropriate): Co-authored-by: Stan Girard <stan@quivr.app>
This commit is contained in:
parent
cb3b795a92
commit
d8956e55bb
@ -112,7 +112,7 @@ class ITO(BaseModel):
|
|||||||
</div>
|
</div>
|
||||||
"""
|
"""
|
||||||
params = {
|
params = {
|
||||||
"sender": mail_from,
|
"from": mail_from,
|
||||||
"to": [mail_to],
|
"to": [mail_to],
|
||||||
"subject": "Quivr Ingestion Processed",
|
"subject": "Quivr Ingestion Processed",
|
||||||
"reply_to": "no-reply@quivr.app",
|
"reply_to": "no-reply@quivr.app",
|
||||||
|
@ -42,9 +42,10 @@ def resend_invitation_email(
|
|||||||
try:
|
try:
|
||||||
r = send_email(
|
r = send_email(
|
||||||
{
|
{
|
||||||
"sender": brains_settings.resend_email_address,
|
"from": brains_settings.resend_email_address,
|
||||||
"to": brain_subscription.email,
|
"to": [brain_subscription.email],
|
||||||
"subject": "Quivr - Brain Shared With You",
|
"subject": "Quivr - Brain Shared With You",
|
||||||
|
"reply_to": "no-reply@quivr.app",
|
||||||
"html": html_body,
|
"html": html_body,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
@ -53,7 +53,7 @@ class EmailSenderTool(BaseTool):
|
|||||||
try:
|
try:
|
||||||
r = send_email(
|
r = send_email(
|
||||||
{
|
{
|
||||||
"sender": self.contact_settings.resend_contact_sales_from,
|
"from": self.contact_settings.resend_contact_sales_from,
|
||||||
"to": self.user_email,
|
"to": self.user_email,
|
||||||
"reply_to": "no-reply@quivr.app",
|
"reply_to": "no-reply@quivr.app",
|
||||||
"subject": "Email from your assistant",
|
"subject": "Email from your assistant",
|
||||||
|
Loading…
Reference in New Issue
Block a user