JFactory::getMailer

Get a mailer object.

Returns the global object, only creating it if it doesn't already exist.