[gnome-web-www] Make use of wp_mail which is then bound to a WP smtp plugin. This is needed as we migrated wgo to OS



commit a12bc5f9ecc60074b44c33f3cebc6b4dd4b81f3a
Author: Andrea Veri <averi redhat com>
Date:   Fri Mar 22 19:52:58 2019 +0100

    Make use of wp_mail which is then bound to a WP smtp plugin. This is needed as we migrated wgo to OSCP

 theme/page-apply.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/theme/page-apply.php b/theme/page-apply.php
index a078103..b72cf5f 100644
--- a/theme/page-apply.php
+++ b/theme/page-apply.php
@@ -55,7 +55,7 @@ if (array_key_exists('submit', $_POST)) {
         
         $subject = "Application received from " . $full_name . " (" . $obfuscated_email . ")";
         
-        $application_sent = mail("membership-applications gnome org", $subject, $formmail, $headers);
+        $application_sent = wp_mail("membership-applications gnome org", $subject, $formmail, $headers);
 
     }
 } else {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]