]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/html_mail_filter.php
Continued a bit:
[mailer.git] / inc / filter / html_mail_filter.php
index 3ed27944833454a5acef0475d3b4c7eb3d095726..42745b49f5a21fec2881e8a67e14d6df040c6383 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2016 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -64,5 +64,19 @@ function FILTER_CHECK_HTML_MAIL_ORDER ($filterData) {
        return $filterData;
 }
 
+// Prepares an SQL statement part for HTML mail
+function FILTER_HTML_INCLUDE_USERS ($mode) {
+       // Exclude no users by default
+       $MORE = '';
+
+       // HTML mail?
+       if ($mode == 'html') {
+               $MORE = " AND `html`='Y'";
+       } // END - if
+
+       // Return result
+       return $MORE;
+}
+
 // [EOF]
 ?>