Browse Source

fix random mime boundary generation

second and third random numbers in mime boundary was alwasy 10000000000
pull/1299/head
fabrixxm 7 years ago
parent
commit
254968a99c
  1. 4
      include/Emailer.php

4
include/Emailer.php

@ -30,8 +30,8 @@ class Emailer {
// generate a mime boundary
$mimeBoundary =rand(0,9)."-"
.rand(10000000000,9999999999)."-"
.rand(10000000000,9999999999)."=:"
.rand(10000000000,99999999999)."-"
.rand(10000000000,99999999999)."=:"
.rand(10000,99999);
// generate a multipart/alternative message header

Loading…
Cancel
Save