From 85a906c0fc92a3a68d6fdb512cd85d33416205bc Mon Sep 17 00:00:00 2001 From: mark_story Date: Thu, 23 May 2013 09:45:50 -0400 Subject: [PATCH] Expand doc blocks. --- lib/Cake/Network/Email/CakeEmail.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/Cake/Network/Email/CakeEmail.php b/lib/Cake/Network/Email/CakeEmail.php index 4eac567936b..e06ff6c5c0d 100644 --- a/lib/Cake/Network/Email/CakeEmail.php +++ b/lib/Cake/Network/Email/CakeEmail.php @@ -1026,6 +1026,16 @@ public function message($type = null) { /** * Configuration to use when send email * + * ### Usage + * + * Load configuration from `app/Config/email.php`: + * + * `$email->config('default');` + * + * Merge an array of configuration into the instance: + * + * `$email->config(array('to' => 'bill@example.com'));` + * * @param string|array $config String with configuration name (from email.php), array with config or null to return current config * @return string|array|CakeEmail */