Skip to content

Kirby 3.5.7.1

$phpmailer->hardcopy()

Creates a clone and fetches all lazy-loaded getters to get a full copy

$phpmailer->hardcopy(): Kirby\Email\PHPMailer

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