Two emails being sent
Moderator: SourceGear
Two emails being sent
I have setup the Vault to email me when anything is checked in on a certain tree. I am received duplicate emails now. I only entered one address.
Can you run this query in a query tool?
Do you see any overlap of email addresses?
Code: Select all
SELECT u.userid, u.login, u.email, r.name + N' / ' + n.name
FROM sgvault.dbo.tblusers u
INNER JOIN sgvault.dbo.tblwatchers w ON w.userid = u.userid
INNER JOIN sgvault.dbo.tblfsobjects o ON o.objid = w.objid
INNER JOIN sgvault.dbo.tblrepositories r ON o.repid = r.repid
INNER JOIN sgvault.dbo.tblfsobjectversions v ON v.objid = o.objid AND v.objversion = o.lastobjversion
INNER JOIN sgvault.dbo.tblfsobjectversionnames n ON n.vernameid = v.vernameid WHERE u.login = N'<ENTERY_YOUR_LOGIN_HERE>'
Jeff Clausius
SourceGear
SourceGear
What about the following:
Still one row?
Code: Select all
SELECT u.userid, u.login, u.email, r.name + N' / ' + n.name
FROM sgvault.dbo.tblusers u
INNER JOIN sgvault.dbo.tblwatchers w ON w.userid = u.userid
INNER JOIN sgvault.dbo.tblfsobjects o ON o.objid = w.objid
INNER JOIN sgvault.dbo.tblrepositories r ON o.repid = r.repid
INNER JOIN sgvault.dbo.tblfsobjectversions v ON v.objid = o.objid AND v.objversion = o.lastobjversion
INNER JOIN sgvault.dbo.tblfsobjectversionnames n ON n.vernameid = v.vernameid WHERE u.email = N'eboykin@youngconsulting.com'
Jeff Clausius
SourceGear
SourceGear