Unfortunatelly this can't be a valid solution for me since I need to notify the admin in case of an error or an exception. 'Here is the it works both using and configuration. Today I tried to use the send_mail function: send_mail( So far I've tried to receive emails by setting Django's ADMINS variable in this way: ADMINS = [('Admin Name', then I send the email using the logging object: logging.error("Hello admin!!")Īs said, this works only when I use. This time it works but, obviously, the email is sent from and not from wrong in the previous configuration? Or maybe I need to make some changes in my Office 365 account? So, just for a test, I tried the free Google SMTP server: EMAIL_USE_TLS = True I tried this Django configuration: EMAIL_USE_TLS = Trueīut it didn't work. I would like to configure Django in order to send emails using my address. An Office 365 account connected to that domain (my email address is something like A Django application hosted in Azure. A domain purchased in (I'll call it ).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |