Here is my post-commit.cmd hook:


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


In the script $(author) converts to myname and myname is what I use to 
authenticate. No problems here. I receive the email to myn...@example.com. 
I tried to use $(author) as the --to value and the hook fails. How can I 
configure the hook to use myname as the --to value without using 
myn...@example.com. Is there another way to use the $(author) variable?


So what I really want the --from and --to line to look like is the 
following below.

But it doesn't work.


--from $(author)@example.com --to $(author)@example.com

-- 
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