Revision history [back]
Try to debug on the console: You will get debug information, everytime.
python-2.7 manage.py shell
>>> from django.core.mail import EmailMessage
>>> email = EmailMessage('email Testing', 'This is a test for that Strange user', to=['Thatuser@Hisdomain.com'])
>>> email.send()
This should return with the status 1, which means it worked.
Debug on the console. The debug information will help! ;)
Try to debug on the console: You will get debug information, everytime.
python-2.7 manage.py shell
>>> from django.core.mail import EmailMessage
>>> email = EmailMessage('email Testing', EmailMessage('Mail Test', 'This is a test for that Strange user', to=['Thatuser@Hisdomain.com'])
test', to=['user@Hisdomain.com'])
>>> email.send()
This should return with the status 1, which means it worked.
Debug on the console. The debug information will help! ;)
Try to debug on the console: You will get debug information, everytime.
python-2.7 python manage.py shell
shell
>>> from django.core.mail import EmailMessage
>>> email = EmailMessage('Mail Test', 'This is a test', to=['user@Hisdomain.com'])
>>> email.send()
This should return with the status 1, which means it worked.
Debug on the console. The debug information will help! ;)