Ask Your Question
1

Can askbot use sendmail instead of SMTP

asked 2010-10-26 14:43:00 -0500

andrewv gravatar image andrewv
21 2 1 2

updated 2010-10-26 14:51:38 -0500

Evgeny gravatar image Evgeny flag of Chile
11044 50 84 182
http://askbot.org/

I am setting up an askbot instance and would like to know if its possible to set up askbot with either Django 1.2.x or use an email backend other than SMTP?

delete close flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2010-10-26 14:57:26 -0500

Evgeny gravatar image Evgeny flag of Chile
11044 50 84 182
http://askbot.org/

updated 2010-10-26 15:01:08 -0500

My guess is that askbot will work with django 1.2 with no changes, someone tried it already (I have not yet). The reasons askbot is sticking to 1.1 for the time being are that many people still use apps requiring 1.1 and 1.2 is somewhat slower.

I've just looked up this snippet that claims enabling email backend to use sendmail. You won't need to modify any of the askbot code to make use of it or an equivalent custom email backend.

link publish delete flag offensive edit

Comments

That snippet requires Django 1.2 or did you mean it should work fine as long as I switch to django 1.2? andrewv ( 2010-10-26 15:06:13 -0500 )edit
actually there doesn't seem to be anything requiring 1.2 in that snippet. Evgeny ( 2010-10-26 15:12:54 -0500 )edit
from django.core.mail.backends.base import BaseEmailBackend is new to 1.2. Also after switching to 1.2 I get the following error: ImproperlyConfigured: Error importing middleware askbot.middleware.view_log: "No module named coffin.template" Any ideas? andrewv ( 2010-10-26 15:19:31 -0500 )edit
oh I see, then that custom backend can be adapted to 1.1 using the 1.1 facilities. As for your second question - looks like coffin is not in your PYTHONPATH now after you switched to 1.2 Evgeny ( 2010-10-26 15:23:10 -0500 )edit
Thanks, that got it to work. andrewv ( 2010-10-26 16:00:46 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

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 site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2010-10-26 14:43:00 -0500

Seen: 154 times

Last updated: Oct 26 '10