Hello All,
I'm trying to play around with a send_mail/mail_admins function but
couldn't get it to work properly. I hope someone can help me out :)
I'm trying to create a "send feedback" feature in my application which
will basically retrieve user's inputted data through form, and then
send e-mail to the admins, or any specified users.
The problem I'm facing is when I try to connect to a Qmail mail
server. I noticed this kind of thing in my mail server log:
Feb 19 02:39:47 mail vpopmail[1941]: vchkpw-smtp: password fail (pass:
'adf1dbac6d55b9972704870a4f6f7ff0') firstname.lastn...@domain:ip_address
Whereas if I connect to the mail server from a regular mail client, I
will see something like this:
Feb 19 02:38:20 mail vpopmail[1891]: vchkpw-smtp: (PLAIN) login
success firstname.lastn...@domain:ip_address
These are the settings I have on settings.py:
EMAIL_HOST = 'Qmai's smtp server addresss'
EMAIL_HOST_USER = 'firstname.lastn...@domainname' # I presume this is
how virtual email address is handled on Qmail
EMAIL_HOST_PASSWORD = 'my password'
DEFAULT_FROM_EMAIL = 'firstname.lastn...@domainname'
EMAIL_SUBJECT_PREFIX = '[Feedback]'
SERVER_EMAIL = 'firstname.lastn...@domainname'
Now, my concern is that, since from the mail server log says that my
password fail with a *jibberish* password, does that mean django hash
the EMAIL_HOST_PASSWORD value before connecting to the mail server?
Or does it fail not because of the password? because I can connect to
the mail server from my regular email client with pretty much the same
setting.
I would be glad if anyone can help me out. Thanks in advanced :)
Reza Muhammad
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---