Reference

$kirby->email()

Returns the Email singleton

$kirby->email($preset = [ ], array $props = [ ]): Kirby\Email\PHPMailer

Parameters

Name Type Default Description
$preset mixed [ ]
$props array [ ]

Return type

Kirby\Email\PHPMailer

Source code

kirby/src/Cms/App.php#L421