Skip to content

Kirby 4.3.0

$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