Browse Source

adjust the rand bounderies to be within the allowed max value

pull/2665/head
Tobias Diekershoff 5 years ago
parent
commit
5b03db4a1b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      include/Emailer.php

+ 2
- 2
include/Emailer.php View File

@ -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


Loading…
Cancel
Save