Skip to content

Kirby 4.1.2

$phpmailer->beforeSend()

Returns the beforeSend callback closure, which has access to the PHPMailer instance

$phpmailer->beforeSend(): Closure|null

Return type

Closure|null

Parent class

Kirby\Email\PHPMailer inherited from Kirby\Email\Email