ProMailerSubscribers::confirmEmail()

Confirm a subscriber as opt-in for a list

Usage

$bool = $proMailerSubscribers->confirmEmail(string $email, $list, string $code);

Arguments

NameType(s)Description
$emailstring

Email address to confirm

$listint ProMailerList

List that the confirmation is for

$codestring

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.251