Question

I am using django registration to handle um... registration on a site I'm building. I'm running on ubuntu and I've installed postfix and dovecot and maybe some other email apps that I don't fully understand (I used these instructions).

So now I'm pretty sure the postfix server is working. On the system shell I can do:

$ mail -s 'test' pete@example.com

and I get an email 30 nano seconds later. Similarly, in the django shell I can issue:

>>> send_mail('Subject here', 'Here is the message.', 'service@example.com',['pete@example.com'],fail_silently=False) 

and I get another email. But, the registration app still never seems to get an email out. I'm at a loss for where to start debugging this, so any advice would be greatly appreciated.

PS: i've completed all the django registration required templates

Was it helpful?

Solution

Did you check if you application sends the mail correctly using python's DebuggingServer? See my answer to another question for some details. Alternatively you could try Django's ConsoleBackend for debugging the sending of mails.

Additionally you could try sending mails using your mail provider.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top