Send given message to given subscriber
Usage
// basic usage
$bool = $proMailerEmail->sendMessage($message, $subscriber);
// usage with all arguments
$bool = $proMailerEmail->sendMessage($message, $subscriber, array $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
message | ProMailerMessage, int | Message or message ID |
subscriber | ProMailerSubscriber, int, Page | Subscriber, subscriber ID or subscriber Page |
options (optional) | array |
|
Return value
bool
array
True if message sent, false if not. Returns verbose array if verbose option specified.
ProMailerEmail methods and properties
API reference based on ProcessWire core version 3.0.236