\NewsletterBounceTask
Class NewsletterBounceTask
Handle newsletter bounces from an IMAP box.
Synopsis
class NewsletterBounceTask
extends BuildTask
{
- // members
- private static string $email = '';
- private static string $password = '';
- private static string $server = '';
- private static integer $blacklistLimit = 5;
- private static string $errorName = '';
- private static string $errorValue = '';
- private static string $diagnosticCode = 'Diagnostic-Code';
- protected string $title = 'Mark bounced newsletter emails';
- protected string $description = "Opens up an e-mail inbox and looks for bounces.";
- protected bool $debug = true;
- protected integer $bounces = 0;
- // methods
- public void run()
- private array checkEmail()
- private void isBounced()
- public static string getEmail()
- public static void setEmail()
- public static string getPassword()
- public static void setPassword()
- public static string getServer()
- public static void setServer()
- public static int getBlacklistLimit()
- public static void setBlacklistLimit()
- public static string getErrorName()
- public static void setErrorName()
- public static string getErrorValue()
- public static void setErrorValue()
- public static string getDiagnosticCode()
- public static void setDiagnosticCode()
Hierarchy
Extends
- BuildTask
Members
private
- $blacklistLimit — int
- $diagnosticCode — string
- $email — string
- $errorName — string
- $errorValue — string
- $password — string
- $server — string
protected
- $bounces — int
- $debug — bool
- $description — string
- $title — string