fix random mime boundary generation

second and third random numbers in mime boundary was alwasy 10000000000
2022.09-rc
fabrixxm 2015-01-20 19:21:49 +01:00
rodzic b2527039b7
commit 254968a99c
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

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