Updated ticket hook to use tcllib's smtp