I am getting this error in my askbot.log "/usr/local/lib/python2.6/dist-packages/askbot/utils/mail.py TIME: 2011-02-15 15:10:25,261 MSG: mail.py:send_mail:48 please run connect() first"
I'm running django 1.1.2 on Maverick.
I have the following email settings: {{{
SERVER_EMAIL = 'root@answers.ros.org' DEFAULT_FROM_EMAIL = 'root@answers.ros.org' EMAIL_HOST_USER = '' EMAIL_HOST_PASSWORD = '' EMAIL_SUBJECT_PREFIX = '' EMAIL_HOST='localhost' EMAIL_PORT='25' EMAIL_USE_TLS=False EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' }}}
Your settings look right, but the mail server must be running and accept those credentials.
Sorry, I am not an expert in mailserver configuration - hope that someone else helps.
My settings are as follows:
SERVER_EMAIL = ''
DEFAULT_FROM_EMAIL = 'askbot@askbot.org'
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_SUBJECT_PREFIX = '[ASKBOT] '
EMAIL_HOST='askbot.org'
EMAIL_PORT='25'
EMAIL_USE_TLS=False
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
But I might have missed something, the difference I see with your settings is that you have "localhost" and I have domain name in the EMAIL_HOST setting.
Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.
create your Q&A siteAsked: 2011-02-15 18:09:37 -0500
Seen: 322 times
Last updated: Feb 15 '11
How do I get answers emailed to me?
What's the best way to test email setup?
url received in askbot emai about changing notifications does not work
What is required for instant email notifications?
Do blocked users get email updates?
Automatic email notifications?
User opted out of email notifications, but is still receiving them.
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.