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("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


On Mon, Apr 19, 2010 at 5:15 PM, Stephen Gallagher <
[email protected]> wrote:

> I'm almost there with my ReviewBoard deployment, but I can't figure out why
> it doesn't seem to be sending emails for reviews/review updates.
>
> Can anyone here point me at a good way to debug the problem? The SMTP
> server doesn't seem to be receiving anything, so I'm pretty sure the problem
> is on ReviewBoard's side.
>
> --
> 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
> [email protected]<reviewboard%[email protected]>
> For more options, visit this group at
> http://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 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to