Skip to content

Kirby 4.4.1

$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