Skip to content

Kirby 5.2.0

$pHPMailer->clone()

Creates a new instance while merging initial and new properties

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

Parameters

Name Type Default
$props array [ ]

Return type

Kirby\Email\PHPMailer

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