Merge pull request #2665 from tobiasd/20160705-mime

adjust the rand bounderies to be within the allowed max value
This commit is contained in:
fabrixxm 2016-07-05 16:09:44 +02:00 committed by GitHub
commit 0bfcd1fe63

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