[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Error on Post Commit Hook.BAT

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Wed, 2 Feb 2011 10:51:24 -0500

> On 2/1/2011 11:36 PM, Waseem Bokhari wrote:
> I am not using any email program But Only using my SMTP SERVER
>
> E:\Repositories\WSBokhari\hooks\send_message.exe %MESSAGE_FILE%
> %server% %to% %from% %subj% %auth%
>
>
> Then how would I mention this?
>
>
>
> You need to find a program that contacts your SMTP server from the
> Windows command line prompt and sends a message to the server.  You
> may have one already installed on your machine; if you are defining
> a repository for a group of developers you will also need to ensure
> that it is installed (or at least accessible on the search path) on
> every developer's machine.
>
> My Subversion installation does not send E-mail to developers and
> so I do not know of any programs that send mail to an SMTP server
> from a Windows command line prompt.  Perhaps someone else on the
> list will know.  I can't help you further.
>
> --
> David Chapman dcchapman_at_acm.org
> Chapman Consulting -- San Jose, CA

On a Windows server with the SMTP server running you can just drop the email file into the mailroot\pickup folder and the email will be sent automatically. This is probably easier that finding some program that uses the SMTP protocol... tHis assumes the credentials running your batch has permissions to the pickup folder on the SMTP server of course.

BOb
Received on 2011-02-02 16:52:02 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.