Hi,

I hope this question hasn't been asked before, if so please link me to
the answer (I couldn't find it).
I have the following problem. When I try to send an e-mail  using
send_mail() trough the Django website (so via a view function), it
does not deliver the e-mail. However when on the same server I use
'python manage.py shell' it does deliver the e-mail. I'm using Postfix
(and earlier I tried Exim as well) to handle e-mails. When I send the
e-mail using the shell it shows up in the logs. When I try sending it
through the website it does not show up in any log. Postfix really is
set-up correctly and I am also certain that the code in the view is
correct. Sending e-mail does work on a similar server which has an
earlier version of Python and Django.

I'm running Django 1.1 on a Debian server with Python 2.5.2 running
spawning with Nginx. I use the following startup script:
#!/bin/sh

PROJNAME=website
PROJDIR=/var/www/heleen/website
PORT=9001

cd ${PROJDIR}/../
/usr/bin/spawn --factory=spawning.django_factory.config_factory $
{PROJNAME}.settings --port=$PORT --threads=0 --processes=1   --access-
log-file=/var/log/django/${PROJNAME} &

Is there anyone who has any idea what I'm missing?

Thank very much in advance for your help!
Heleen

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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