com.uwyn.rife.mail
Interface MailQueueExecutor

All Known Implementing Classes:
DatabaseMailQueueExecutor

public interface MailQueueExecutor

This interface has to be implemented by all Executors that will process the mail queue.

Since:
1.0
Version:
$Revision: 3634 $
Author:
Geert Bevin (gbevin[remove] at uwyn dot com)
See Also:
Email

Method Summary
 boolean isDeliveryAllowed(Email email)
          Checks whether an Email instance is allowed to be delivered.
 

Method Detail

isDeliveryAllowed

boolean isDeliveryAllowed(Email email)
Checks whether an Email instance is allowed to be delivered. This is called before sending each message so that it's possible to filter out email that for some reason is not allowed for delivery. The email will then simply be skipped.

Parameters:
email - The Email instance that should be verified
Returns:
true if the email is allowed to be delivered; or

false otherwise

Since:
1.0


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.