Documentation

DefaultSender extends AutoService
in package
uses IsActiveTrait

AutoService is a base-class for defining a service (in Civi's service-container).

Tags
service

civi_flexmailer_default_sender

Table of Contents

Constants

BULK_MAIL_INSERT_COUNT  = 10

Properties

$active  : bool

Methods

isActive()  : bool
onSend()  : mixed
setActive()  : $this
isTemporaryError()  : bool
Determine if an SMTP error is temporary or permanent.
recordBounce()  : mixed

Constants

BULK_MAIL_INSERT_COUNT

public mixed BULK_MAIL_INSERT_COUNT = 10

Properties

Methods

setActive()

public setActive(bool $active) : $this
Parameters
$active : bool
Return values
$this

isTemporaryError()

Determine if an SMTP error is temporary or permanent.

protected isTemporaryError(string $message) : bool
Parameters
$message : string

PEAR error message.

Return values
bool

TRUE - Temporary/retriable error FALSE - Permanent/non-retriable error


        
On this page

Search results