First time here? Check out the FAQ!
0

configuring email?

I configured my settings.py

ADMINS = (
  ('Matthew Harris', 'harris112@aims.info'),
)
... db stuff ...
outgoing mail server settings
SERVER_EMAIL = 'harris112@aims.info'
DEFAULT_FROM_EMAIL = 'harris112@aims.info'
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_SUBJECT_PREFIX = ''
EMAIL_HOST='nospam.aims.info'
EMAIL_PORT=''
EMAIL_USE_TLS=False
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'

and from that directory I can send an email to myself (admin email) with

from django.core.mail import mail_admins
mail_admins('subject line', 'message text')

but user are still not receiving emails (example creating an account verification email)

The server also sends mail find

mail -v 'harris112@aims.info'

Am I missing something? Any thoughts, ideas, comments, or concerns?

mattbenh's avatar
15
mattbenh
asked 2013-11-05 15:02:36 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

It seems that your last command mail -v uses localhost as the mail server host. Maybe it's different from what you've set with the EMAIL_HOST variable? I.e. there is an issue with credentials?

Another thing that may be happening is that your recipient mail server somehow determines that message sent by Django is spam. To verify that you could look into the mail server log file (possibly /var/log/mail or similar).

Evgeny's avatar
13.2k
Evgeny
answered 2013-11-08 09:51:17 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments