template css issue

18 views
Skip to first unread message

Praveen Chaudhary

unread,
Jun 7, 2023, 2:39:20 AM6/7/23
to django...@googlegroups.com
Hello Everyone,

Hope you are doing well. I want a small favor from you guys.
Here I have attached two files. These files are the email template sent from the django project to the outlook. The template looks correct and the css is working fine when I send the email from local but the css is not working when I deploy it to the server. You can see the difference .
Can anyone please tell me what i am missing or doing wrong. 

Prabin Chaudhary

Software Engineer | Youth Innovation Lab 

Mobile: +977-9840193890 | prabin...@gmail.com 

MicrosoftTeams-image (6).png
MicrosoftTeams-image (7).png

Praveen Chaudhary

unread,
Jun 7, 2023, 2:42:01 AM6/7/23
to django...@googlegroups.com
This is the original template and it's working locally.


Thank you!
Your E-mail has been received
Prabin Chaudhary
Software Engineer | Youth Innovation Lab
MicrosoftTeams-image (9).png

DieHardMan 300

unread,
Jun 7, 2023, 2:48:10 AM6/7/23
to Django users
Did you collectstatic and config Nginx to serve the static folder? It's happen to me sometimes when I deploy project to server.

ในวันที่ วันพุธที่ 7 มิถุนายน ค.ศ. 2023 เวลา 13 นาฬิกา 42 นาที 01 วินาที UTC+7 Praveen Chaudhary เขียนว่า:

Sebastian Jung

unread,
Jun 7, 2023, 3:32:46 AM6/7/23
to django...@googlegroups.com
Please view in outlook original html source code and compare Email your private Environment with production server. Then you should see difference

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAN9B8Z1TYybASLU1dthTNjhYjbsLRw753bD_iVmH8gP-rHHFWg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages