Craft Emails (2.x)

ShotController extends Controller
in package

Table of Contents

$forceQueue  : bool
$runQueue  : bool
actionSend()  : int
Send an email shot
options()  : array<string|int, mixed>

Properties

$forceQueue

public bool $forceQueue

Override the useQueue parameter of the email shot

$runQueue

public bool $runQueue = false

Run the queue (only applies to email shots that use it)

Methods

actionSend()

Send an email shot

public actionSend(string $handle) : int
Parameters
$handle : string

Handle of the email shot

Return values
int

options()

public options(mixed $actionID) : array<string|int, mixed>
Parameters
$actionID : mixed
Return values
array<string|int, mixed>

Search results