Sorry, maybe I was unclear. By putting that log message where Scott recommended, I proved that send_review_mail() was not being called at all (the log message never printed). So I'm trying to figure out how to track down the misconfiguration.

On 04/20/2010 11:22 AM, Jan Koprowski wrote:
In my case SMTP server doesn't provide TLS authentication but
information about this issue I found in Apache logs without any
problems.

On Apr 20, 5:01 pm, Stephen Gallagher<step...@gallagherhome.com>
wrote:
On 04/19/2010 05:25 PM, Scott Quesnelle wrote:



Here is what I did with V 1.0 when I had an email issue, in
reviewboard/reviews/email.py
In function
def send_review_mail(user, review_request, subject, in_reply_to,
                      extra_recipients, template_name, context={}):
I added the line:
logging.info<http://logging.info>("Sending e-mail with subject '%s'
from '%s' to '%s', CC '%s'\n" % (subject, from_email, to_field, cc_field))
just before this line:
     message.send()
Looking at the return value of send would also be a potential way to
debug it, my problem was a very slow and overloaded smtp server. My
solution was to setup postfix on the local machine. It then sends it
to the smtp server. This now means that some emails are slightly
delayed (a few minutes) but has increased reliability.
Scott
Ok, so this confirms for me that ReviewBoard is not ever entering the
send_review_mail() codepath. Any ideas why that would be, since the
admin interface is set up correctly, with the appropriate checkbox marked.

For the record, this is ReviewBoard 1.5beta1 plus the "Optimize several
queries for review requests." patch from April 1.

--
Want to help the Review Board project? Donate today 
athttp://www.reviewboard.org/donate/
Happy user? Let us know athttp://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group 
athttp://groups.google.com/group/reviewboard?hl=en

--
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to