$phpmailer->beforeSend() Returns the beforeSend callback closure, which has access to the PHPMailer instance kirby/src/Email/Email.php#L160 $phpmailer->beforeSend(): Closure|null Return type Closure|null Parent class Kirby\Email\PHPMailer inherited from Kirby\Email\Email