Skip to content

Kirby 3.6.6

$phpmailer->clone()

Creates an instance with the same initial properties.

$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