From 0950aac40b2eec9d891e59f52ce8946ec299c486 Mon Sep 17 00:00:00 2001
From: Bryce Lowe <bryce@brycelowe.com>
Date: Sun, 12 May 2019 21:49:20 -0700
Subject: [PATCH] set mail as the default transport when it isn't specified in
 the configuration

---
 lib/SimpleSAML/Utils/EMail.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/SimpleSAML/Utils/EMail.php b/lib/SimpleSAML/Utils/EMail.php
index 9fe368661..1bfd67b86 100644
--- a/lib/SimpleSAML/Utils/EMail.php
+++ b/lib/SimpleSAML/Utils/EMail.php
@@ -235,7 +235,7 @@ class EMail
 
         $config = Configuration::getInstance();
         $EMail->setTransportMethod(
-            $config->getString('mail.transport.method', ''),
+            $config->getString('mail.transport.method', 'mail'),
             $config->getArrayize('mail.transport.options', [])
         );
 
-- 
GitLab