Solved

Visual SVN post commit hooks email problem

Posted on 2013-12-05
1
1,456 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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

688 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