Configuration must be set in the config file on server. Sample:
mailinglist = programming@xyz.com
commitlist = programming@xyz.com
mailer = smtp
environment = generic
smtpserver = mail.xyz.com
smtpserverusername = noreply@xyz.com
smtpserverpassword = d
smtpusername = noreply@xyz.com
smtpuser = noreply@xyz
smtppass = d
from = noreply@xyz.com
mailinglist = programming@xyz.com
commitlist = programming@xyz.com
mailer = smtp
environment = generic
smtpserver = mail.xyz.com
smtpserverusername = noreply@xyz.com
smtpserverpassword = d
smtpusername = noreply@xyz.com
smtpuser = noreply@xyz
smtppass = d
from = noreply@xyz.com
post-receive may look something like:
#!/bin/sh
echo PWD is $PWD
\\python27\\python hooks/git_multimail.py
No comments:
Post a Comment