Skip to content

Kirby 5.1.2

$pHPMailer->beforeSend()

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

$pHPMailer->beforeSend(): Closure|null

Return types

Closureornull

This method modifies the existing $phpmailer object it is applied to and returns it again.

Parent class

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