$email->beforeSend()
Returns the beforeSend callback closure, which has access to the PHPMailer instance
$email->beforeSend(): Closure|null
Return types
Closureornull
This method modifies the existing $email object it is applied to and returns it again.