send_mail with user name shown

Submitted 3 years, 8 months ago
Ticket #109
Views 211
Language/Framework Python
Priority Urgent
Status Closed

i want this to disappear (<django....>) how can i do that

After i receive the email instead of showing the name of the gmail account it shows this

<django.db.models.query_utils.DeferredAttribute object at 0x03F93910>

Submitted on Aug 20, 20
add a comment

2 Answers

@ Brunoseixas  Can you show your VIEW & EMAIL_SETTINGS code to understand better?

I hope you have right settings as per doc here https://docs.djangoproject.com/en/3.1/topics/email/.

Also try add DEFAULT_FROM_EMAIL in your settings to make sure receive the correct name.

Submitted 3 years, 8 months ago

As i see from your below screenshot. Can you try remove from email from your view. I think it should take as a default from settings.

- scott 3 years, 8 months ago

Submitted 3 years, 8 months ago

This is not your answer for your question . If you would like to add more details to your question then EDIT your question.

- Vengat 3 years, 8 months ago

could you please close the ticket if issue is solved

- bhanupriyakuchana123 3 years, 8 months ago


Latest Blogs