]> git.mxchange.org Git - friendica.git/blobdiff - include/Emailer.php
Use the exclamation mark to address forums as well
[friendica.git] / include / Emailer.php
index d0568f600128a4f447fbaf4f2561865f613292bd..5962e9ec8f00ece8b0dc01141d2e0592166744a2 100644 (file)
@@ -16,7 +16,7 @@ class Emailer {
         * @param additionalMailHeader  additions to the smtp mail header
         * @param optional uid      user id of the destination user
         */
-       static public function send($params) {
+       public static function send($params) {
 
                call_hooks('emailer_send_prepare', $params);
 
@@ -30,8 +30,8 @@ class Emailer {
 
                // generate a mime boundary
                $mimeBoundary   =rand(0,9)."-"
-                               .rand(10000000000,99999999999)."-"
-                               .rand(10000000000,99999999999)."=:"
+                               .rand(100000000,999999999)."-"
+                               .rand(100000000,999999999)."=:"
                                .rand(10000,99999);
 
                // generate a multipart/alternative message header
@@ -81,4 +81,3 @@ class Emailer {
                return $res;
        }
 }
-?>