EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_USE_TLS = True
EMAIL_HOST = 'mail.yourhost.com'
EMAIL_HOST_USER = 'admin@youremail.com'
EMAIL_HOST_PASSWORD = *********
EMAIL_PORT = 587
OSCAR_FROM_EMAIL = 'Team jaimedcsilva <admin@youremail.com>'
Changing the site name:
Admin → Sites → Sites
http://localhost:8000/admin/sites/site/
Change from examples.com to your domain.
This will later be displayed as a link in the email template.
Customize the order placed email template at:
mysite/templates/oscar/communication/emails/
- commtype_order_placed_body.html
- commtype_order_placed_body.txt
- commtype_order_placed_subject.txt
Tested with: Django 5.2 Django-Oscar 4
11 July 2024
|
Last Updated: 02 Dec. 2025
|
jaimedcsilva Related