public function __construct()
 {
     if (self::$outbound_send !== null || self::$capture_emails !== null) {
         user_error('Mailcapture no longer uses private statics for config, please remove any settings of ' . 'private static $capture_emails and private static $outbound_send. Check the read for new yml based ' . 'config');
     }
     parent::__construct();
 }
Example #2
0
 public function __construct()
 {
     // Set the config email settings we wish to load.  This must be defined in the config/mailer.php file.
     $this->account = 'default';
     // Construct the parent.
     parent::__construct();
 }
 function __construct($mailer = null)
 {
     if (method_exists(get_parent_class($this), "__construct")) {
         parent::__construct();
     }
     $this->mailer = $mailer;
 }
 /**
  * Set options for Crypt_GPG and add encrypting and signing keys.
  * 
  * @param string $encryptKey        Key identifier, usually an email address but can be fingerprint
  * @param string $signKey           Key identifier, usually an email address but can be fingerprint
  * @param string $signKeyPassPhrase Optional passphrase for key required for signing
  */
 public function __construct($encryptKey, $signKey = null, $signKeyPassPhrase = null)
 {
     parent::__construct();
     // Set options
     $this->setOptions();
     $this->gpg = new Crypt_GPG($this->options);
     // Add encryption key
     $this->gpg->addEncryptKey($encryptKey);
     // Add signing key
     if ($signKey) {
         $this->gpg->addSignKey($signKey, $signKeyPassPhrase);
         $this->sign = true;
     }
 }
 function __construct($mailer = null)
 {
     parent::__construct();
     $this->mailer = $mailer;
 }
Example #6
0
 public function __construct($isHTML = false, $mailSendTyp = 'mail', $singleTo = false, $dbProto = true)
 {
     $this->dbProto = $dbProto;
     parent::__construct(EMAIL_FROMADRESS, EMAIL_FROMUSER, HOST, $singleTo, $mailSendTyp, $isHTML);
     $this->setMessageId(md5(microtime()) . '@' . HOSTNAME);
 }
Example #7
0
 function __construct($recipient = null, $row = null, $rest = array())
 {
     parent::__construct();
     $this->reset($recipient, $row, $rest);
 }
Example #8
0
 public function __construct($config)
 {
     $this->client = SesClient::factory($config);
     parent::__construct();
 }