Email users when checkin occurs

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
cknox
Posts: 14
Joined: Tue Mar 03, 2009 9:59 am

Email users when checkin occurs

Post by cknox » Tue Mar 03, 2009 10:29 am

Is it possible to send an email to every user when a checkin occurs. Right now, we're sending emails back and forth indicating what files we changed, and what we changed in them. it would be much easier if SourceGear Vault did this for us. We currently have version 4.1.4.18402. Everything on the email settings page is correct. We are fairly certain that it's not the email server as our SQL Server is able to send emails using the same settings.

When looking at the log, when I recently checked a change in, this shows up in the log: "----3/3/2009 8:18:00 AM --()-- Exception in plugin thread : The request failed with HTTP status 401: Unauthorized. " I don't know if this is something to do with the issue. My next step is going to be to turn debug loggin on.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Email users when checkin occurs

Post by Beth » Tue Mar 03, 2009 1:19 pm

Yes, you should be able to receive notifications on every check-in.

On your emails settings, did you use a real email address for the From entry?
Does your entry for your Vault server look like: http://<your Vault server>/vaultservice?
Does each user account in the Vault admin web page have the user's email address included?

Each of your users should go into the repository they want to watch, select $, then click the email tab at the bottom and add that as the entry to watch and their email address. Have they done that?

If all these things have been done, then first try and iisreset to force the server to reload the settings. That is done by going to Start - Run and typing iisreset. Just stopping and starting the website won't accomplish the same thing.

If that doesn't do it, then I usually suggest running a test using a gmail account as the smtp server. This thread tells you the setting you need: SMTP SSL?. We've only gotten it to work using SSL in that case. If you would prefer help with trying this, just let me know. You can send an email to support at sourcegear.com (attn: Beth) with a link to this forum thread.
Beth Kieler
SourceGear Technical Support

cknox
Posts: 14
Joined: Tue Mar 03, 2009 9:59 am

Re: Email users when checkin occurs

Post by cknox » Tue Mar 03, 2009 2:09 pm

Beth,

Thank you so much for your reply. The issue was that no one was watching the thread. I've started watching it, and it is working now. I had read somewhere about the email tab, but thought it was in the settings somewhere and couldn't find it. I don't know why I never looked at the bottom of the client since I'm always swapping between messages and Pending Change Set.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Email users when checkin occurs

Post by Beth » Tue Mar 03, 2009 2:31 pm

Thanks for the update. I'm happy to hear you got it working.
Beth Kieler
SourceGear Technical Support

kha
Posts: 221
Joined: Fri Sep 12, 2008 8:25 am

Re: Email users when checkin occurs

Post by kha » Tue Mar 10, 2009 3:08 pm

I logged in as admin and tried to subscribed my email to a repository, i never received any email alert after I tried check out and check in a file (i did not make any change to the checked out file).

I am sure I set the SMTP configuration right because that is exact information I've entered in my CounterSoft Gemini product and the email alert from Gemini works fine for me. How should i troubleshoot it?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Email users when checkin occurs

Post by Beth » Tue Mar 10, 2009 3:31 pm

If you did not make a change to a file, then you won't receive a notification. The default behavior when checking in an unchanged file is to perform an undo checkout even though you are selecting check-in. A more accurate test is to checkout, make a change such as adding a comment, and then check in. Also, you might want to have someone else do the checkout, edit, and check-in. Most users don't want to be notified of what they are doing, but of what others are doing.
Beth Kieler
SourceGear Technical Support

Post Reply