Solstice::Mailer - Manage a queue of Solstice::Emails


Solstice documentation  | view source Contained in the Solstice distribution.

Index


NAME

Top

Solstice::Mailer - Manage a queue of Solstice::Emails

SYNOPSIS

Top

  use Solstice::Mailer;

  my $mailer = Solstice::Mailer->new();

  $mailer->enqueue($solstice_email);

  #or, for efficient and fair handling of large mailings:
  $mailer->enqueueList($solstice_list_object_full_of_solstice_emails);

  #to send the email queued up, probably done via a cron script
  $mailer->runQueue();

  #also, as a convienience, you may call "enqueue" on a Solstice::Email object.
  #This is equivalent to creating a mailer and adding the email yourself
  $solstice_email->enqueue();

DESCRIPTION

Top

The mailer manages a queue of emails. When runQueue is called emails are sent to the SMTP server specified in the solstice_config.xml, throttled by the mail send delay specified in solstice_config.xml.

Export

No symbols exported.

Methods

new()

Constructs a new Solstice::Mailer.

getMailName()

Returns the smtp server we will be using.

getSMTPServer()

Returns the smtp server we will be using.

AUTHOR

Top

Catalyst Group, <catalyst@u.washington.edu>

VERSION

Top

$Revision: 3364 $

COPYRIGHT

Top


Solstice documentation  | view source Contained in the Solstice distribution.