Class-Based_views | DetailView | send_email with attachments

14 views
Skip to first unread message

Sachin KODAD

unread,
Feb 16, 2021, 8:58:44 AM2/16/21
to Django users
Hello Django Users,

I need help with one of my views in Django DetailView. I want to send_mail from my HTML form (post method). 

Requrirement:

1. HTML Form (method=post)
2. Django DetailView (send_mail with attachments)

***

I have already set up my send_mail and email config in setting.py and it is working fine in another app within the project. I just need to make it work in my current app within the same project. 

Any help would be appreciated. 

Regards,

SKODAD
Reply all
Reply to author
Forward
0 new messages