Skip to content

Kirby 4.3.0


Creates a new instance while merging initial and new properties

Deprecated in 4.0.0
$phpmailer->clone(array $props = [ ]): Kirby\Email\PHPMailer


Name Type Default
$props array [ ]

Return type


This method does not modify the existing $phpmailer object but returns a new object with the changes applied. Learn more →

Parent class

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