I found my solution by using svnlook.exe with a temp file. A little wordy 
and messy but it works. Lucky for me this is a small team of developers.
---

"%VISUALSVN_SERVER%\bin\svnlook.exe" author c:\Repositories\software > 
C:\Repositories\software\hooks\SET_TO_USER.tmp

set /p DEF_TO_USER=<C:\Repositories\software\hooks\SET_TO_USER.tmp
if %DEF_TO_USER%==joe (set SEND_TO_USER=joe.doe)
if %DEF_TO_USER%==tom (set SEND_TO_USER=tom.doe)
if %DEF_TO_USER%==hank (set SEND_TO_USER=hank.doe)
if %DEF_TO_USER%==susan (set SEND_TO_USER=susan.doe)
if %DEF_TO_USER%==mike (set SEND_TO_USER=mike.doe)

"%VISUALSVN_SERVER%\bin\VisualSVNServerHooks.exe" ^
    commit-notification "%1" -r %2 ^
    --from $(author)noreply.com ^
    --to %send_to_us...@example.com ^
    --smtp-server smtp.example.com

---
Whenever a user executes their commit, they receive the email notification 
for their commit only. No one else will get the email notification.

-- 
You received this message because you are subscribed to the Google Groups 
"VisualSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to visualsvn+unsubscr...@googlegroups.com.
To post to this group, send email to visualsvn@googlegroups.com.
Visit this group at https://groups.google.com/group/visualsvn.
For more options, visit https://groups.google.com/d/optout.

Reply via email to