Confirm a subscriber as opt-in for a list
Usage
$bool = $proMailerSubscribers->confirmEmail(string $email, $list, string $code);
Arguments
Name | Type(s) | Description |
---|---|---|
email | string | Email address to confirm |
list | int, ProMailerList | List that the confirmation is for |
code | string | Unique confirmation code for subscriber |
Return value
bool
Exceptions
Method can throw exceptions on error:
WireException
ProMailerSubscribers methods and properties
API reference based on ProcessWire core version 3.0.236