Skip to content
Snippets Groups Projects
Commit b3577cf9 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

use different boundary prefix FS#2846

The used boundary should have been correct but might throw off MTAs not
expecting more than two dashes at the start. This is just a wild guess
and may not fix anything (but shouldn't break anything either).
parent d6e04b60
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ class Mailer {
if(strpos($server,'.') === false) $server = $server.'.localhost';
$this->partid = md5(uniqid(rand(), true)).'@'.$server;
$this->boundary = '----------'.md5(uniqid(rand(), true));
$this->boundary = '__________'.md5(uniqid(rand(), true));
$listid = join('.', array_reverse(explode('/', DOKU_BASE))).$server;
$listid = strtolower(trim($listid, '.'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment