Solved

Visual SVN post commit hooks email problem

Posted on 2013-12-05
1
1,160 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
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
TFS Error 31001 1 801
git - Getting-Help 2 92
TFS source check out 1 59
Team Foundation online free? 5 74
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now