- Remove strip_tags usage and use explicit fallback text for HTML emails - Use named parameters in EmailMultiAlternatives for better clarity - Add fail_silently=False to email.send() for explicit error handling - Rename variables (html_content -> html_message, email_msg -> email) - Remove action buttons from appointment email templates These changes improve code readability and provide a clearer fallback message for non-HTML email clients instead of relying on stripped HTML. |
||
|---|---|---|
| .. | ||
| admin_notification.html | ||
| appointment_rejected.html | ||
| appointment_scheduled.html | ||
| base.html | ||
| otp_verification.html | ||
| password_reset_otp.html | ||