Skip to content
Corex

MailHold

Corex\Mail\Capture\MailHold · class · Core layer

While a flow’s marked test runs, every email it sends is held: kept in Email Studio and never sent, on any site (spec 113, US3; the owner’s decision SAFE-D3). What was held is listed for the test’s result.

Run $work with every email held, and return its result with what was held.

note(array $to, string $subject, string $captureId, string $path): void

Section titled “note(array $to, string $subject, string $captureId, string $path): void”

Note an email held while a hold is active; outside one, nothing is noted.