diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-06-05 14:53:46 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-06-05 14:53:46 -0400 |
commit | cd4c09c10aabb133efa0ef5e0566630941178a4a (patch) | |
tree | 2f3f56617c90ce8c907f46324fa2dde26e91e79d /app/Core/Mail/Client.php | |
parent | a08339059b06bcfb673b13a380b6f199abfb5983 (diff) |
Conifgure email settings through user interface
Diffstat (limited to 'app/Core/Mail/Client.php')
-rw-r--r-- | app/Core/Mail/Client.php | 12 |
1 files changed, 12 insertions, 0 deletions
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); + } } |