?
Solved

Visual SVN post commit hooks email problem

Posted on 2013-12-05
1
Medium Priority
?
1,498 Views
Last Modified: 2013-12-18
I have a Windows VisualSVN server and a few users have requested email notifications on post commits.  I found a support document with the following information but it doesn't work.  I am trying to figure out where I've gone wrong or what additional information I need.  I think there maybe some smtp settings I need to add or change, and I'll try and find those out from the email admin.  However, if anyone could help me with my syntax, that would be great.  Here is what I added to the post commit hooks:

"C:\Program Files (x86)\VisualSVN Server\bin\VisualSVNServerHooks.exe" ^
    commit-notification "%1" -r %2 ^
    --from <myemail@mydomain.com --to useremail@mydomain.com ^
    --smtp-server mail.mydomain.com
    --smtp-user MyWindowsLoginName
    --smtp-password MyWindowsPassword

I don't know if I need those ^ symbols or not, or if I should have the spaces before the --smtp... commands.  I am just trying to follow the article here:

http://www.visualsvn.com/support/topic/00018/

Here is the errors people receive when they commit changes to the database:

Error     post-commit hoot failed (exit code 1) with output:
Error     VisualSVNServerHooks.exe: invalid option: --frommyemail@mydomain.com
Error     Type 'VisualSVNServerHooks help' for usage.
Error     '--smtp-server' is not recognized as an internal or external command,
Error     operable program or batch file.
Error     '--smtp-user' is not recognized as an internal or external command,
Error     operable program or batch file.
Error     '--smtp-password' is not recognized as an internal or external command,
Error     operable program or batch file.

I might also have to add smtp port arguments and smtp ssl arguments, but it appears that the other smtp arguments aren't even acceptable.
0
Comment
Question by:jbobst
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
jbobst earned 0 total points
ID: 39728132
Got it working...some syntax was incorrect.  I re-entered it and now it works.  Not sure what was typed wrong though.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When working in a large software development team, whether you have many developers working on the same projects, or your project is linked to other projects; it is very important that developers regularly perform "get latest" to ensure that the cha…
Article by: gr8gonzo
Git can be a complicated version control system for beginners, but it definitely is one of the best ones out there. Since this article assumes that you're starting at square one, it will skip over things that Git -can- do and will focus on the typic…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question