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