I just noticed there's also a vtlib/Vtiger/Mailer.php that extends PHPMailer, but doesn't appear to be used anywhere in the codebase. This is a great example of not eating your own dogfood; whenever possible, the core modules should be built on top of vtlib.