Each time a creature is put into a graveyard from the battlefield, check whether Vein Drinker had dealt damage to it at any time during that turn. If so, Vein Drinker's third ability will trigger. It doesn't matter whether the damage was combat damage or not. It also doesn't matter who controlled the creature or whose graveyard it was put into.