[prev in list] [next in list] [prev in thread] [next in thread] 

List:       trac
Subject:    [Trac] Re: post-commit hook adding to ticket, but not sending e-mail
From:       "Emmanuel Blot" <manu.blot () gmail ! com>
Date:       2008-05-30 21:01:44
Message-ID: 8ff37ed30805301401g34d721e1y5478bdc9b30a7e70 () mail ! gmail ! com
[Download RAW message or body]


> I added the 'env -' part to the beginning, thinking maybe it was a
> difference in the environment. But it appears not, because running
> this command from the shell results in the e-mail being sent, but the
> actual post-commit hook never does.

Double-check you can make it work when you run it as the "web server"
user. A common issue is a security setting that prevents the web
server from opening an outgoing SMTP connection.

Also, enable "debug" log level in trac.ini and see if you can get some
warning/error messages from the log file.

HTH,
Manu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic