jira-9 and jira-12 sendgrid and upload images in alibaba bucket

This commit is contained in:
jain
2023-06-29 11:40:04 +05:30
parent f0a2a4bd4b
commit 9d7f265f40
17 changed files with 160 additions and 35 deletions

View File

@ -6,7 +6,7 @@ from rest_framework.response import Response
from templated_email import send_templated_mail
def send_otp_email(recipient_email, otp):
from_email = settings.EMAIL_HOST_USER
from_email = settings.EMAIL_FROM_ADDRESS
recipient_list = [recipient_email]
send_templated_mail(
template_name='email_otp_verification.email',