Here is the code that I am using
subject = 'Opinion - OTP for login'
message = 'Your OTP to login is {}'.format(callbacktoken)
email_from = 'Opinion@noreply.com'
# email_from = settings.EMAIL_HOST_USER
recipient_list = [email]
send_mail(subject, message, email_from, recipient_list)
I expect the email to show Opinion@noreply.com as the name but they still show my email id that is in settings.EMAIL_HOST_USER.
How to solve this problem?