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