Now I'm creating an email template using CSS defined in other files, which I imported into the template. I formatted the template using render_to_string("my_email.html") before sending it via email. The email was sent, however the template email could not load my imported CSS.
I have tried but it didn't load imported css. Then my email content didn't have css.
Email template load only
inline cssor<style></style>which you are wrote in template it's not loadcdnorexternal cssfrom fileHere I put one sample template try to send in email it's working fine template name is
index.htmlDjango E-Mail Sending Code
Html Template
NOTE - all css wrote in
<style></style>tag template