My best guess is that the mail transport agent on the server is rejecting 
the mail because something is different from mail that is send through 
other places in your django code. Perhaps the mail "sender" is not correct, 
for example?

Unfortunately, looking at the mail log is the best way to see what's 
happening. If that's not available, you might want to see what is being 
sent.

Set this:

EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'

and then run your project with "runserver". The mail that it tries to send 
will be sent to the console instead. Check out the "from" headers and make 
sure they make sense. Compare that to the other kinds of email that are 
sent.

(Make sure you're still running with DEBUG=False)



On Sunday, December 16, 2012 2:18:26 PM UTC-8, Ali Vakilzade wrote:
>
> I don't have access to that file on server.
> and log from uwsgi doesn't have any error massage about mail sending
>
> can it be a python3 branch related bug?
>
>
> در دوشنبه 17 دسامبر 2012، ساعت 1:36:05 (UTC+3:30)، Chris Cogdon نوشته:
>>
>> Oh... there's your problem... you've set the admin email to ****... i'm 
>> sure that doesn't exist! :)
>>
>> Seriously, though... all that looks correct. Can you check your server's 
>> /var/log/maillog to see if the mail is being accepted?
>>
>> On Sunday, December 16, 2012 1:33:01 PM UTC-8, Ali Vakilzade wrote:
>>>
>>> I can send mails using send_mail or mail_admins methods
>>>
>>> but django it self doesn't send me any mail on 404 error or 500 error.
>>>
>>> I have even added  raise Exception('Test') to my view function
>>> I see the 500 error for that but no mail was sent
>>>
>>> This is my settings.py: http://dpaste.com/846959/
>>>
>>> I use :
>>> django from git master
>>> python 3.2
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/VGNyODw_eXQJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to