GT::Mail::Send - Module to send emails
use GT::Mail::Send; # $mail_object must be a GT::Mail object my $send = new GT::Mail::Send ( mail => $mail_object, host => 'smtp.gossamer-threads.com', debug => 1 );
$send->smtp or die $GT::Mail::Send::error;
GT::Mail::Send is an object interface to sending email over either SMTP or Sendmail. This module is used internally to GT::Mail.
Returns a new GT::Mail::Send object. You must specify either the smtp host or a path to sendmail. This method is inherented from GT::Base. The arguments can be in the form of a hash or hash ref.
Class or instance method. Sends the passed in email over SMTP. If called as a class method, the parameters passed in will be used to call new(). Returns true on error, false otherwise.
Class or instance method. Send the passed in email to sendmail using the specified
path and flags. If called as a class method all additional arguments are passed to the
new()
method. Returns true on success and false otherwise.
Copyright (c) 2004 Gossamer Threads Inc. All Rights Reserved. http://www.gossamer-threads.com/
Revision: $Id: Send.pm,v 1.53 2004/08/23 20:07:44 jagerman Exp $