From cd4c09c10aabb133efa0ef5e0566630941178a4a Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 5 Jun 2016 14:53:46 -0400 Subject: Conifgure email settings through user interface --- app/Core/Mail/Client.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'app/Core/Mail') diff --git a/app/Core/Mail/Client.php b/app/Core/Mail/Client.php index 44f4753a..ee3bdead 100644 --- a/app/Core/Mail/Client.php +++ b/app/Core/Mail/Client.php @@ -102,4 +102,16 @@ class Client extends Base return $this; } + + /** + * Return the list of registered transports + * + * @access public + * @return array + */ + public function getAvailableTransports() + { + $availableTransports = $this->transports->keys(); + return array_combine($availableTransports, $availableTransports); + } } -- cgit v1.2.3