com.dotmarketing.factories
Class EmailFactory

java.lang.Object
  extended by com.dotmarketing.factories.EmailFactory

public class EmailFactory
extends java.lang.Object

DOCUMENT ME!

Version:
$Revision: 1.10 $
Author:
$author$

Constructor Summary
EmailFactory()
           
 
Method Summary
static void deliverCampaigns()
          pulls a list of all waiting recipients, iterates through that list and calls the sendNewsletter method for each one.
static boolean sendForgotPassword(User user, java.lang.String newPassword, long hostId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailFactory

public EmailFactory()
Method Detail

deliverCampaigns

public static void deliverCampaigns()
pulls a list of all waiting recipients, iterates through that list and calls the sendNewsletter method for each one. After sending, the recipient sent property is updated to the current time


sendForgotPassword

public static boolean sendForgotPassword(User user,
                                         java.lang.String newPassword,
                                         long hostId)


Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.