summaryrefslogtreecommitdiff
path: root/inc/Mailer.class.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2013-10-12 13:34:14 +0200
committerAndreas Gohr <andi@splitbrain.org>2013-10-12 13:34:14 +0200
commitb3577cf9084e7dee70c3d09426087262da0f2849 (patch)
tree9a07fe766ed11ee54ab2b8ca09c16b6ded55b5a3 /inc/Mailer.class.php
parentd6e04b603a81d6c55c3bb71974689892762b6a01 (diff)
downloadrpg-b3577cf9084e7dee70c3d09426087262da0f2849.tar.gz
rpg-b3577cf9084e7dee70c3d09426087262da0f2849.tar.bz2
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).
Diffstat (limited to 'inc/Mailer.class.php')
-rw-r--r--inc/Mailer.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/Mailer.class.php b/inc/Mailer.class.php
index ff29c2a36..34d1c8af6 100644
--- a/inc/Mailer.class.php
+++ b/inc/Mailer.class.php
@@ -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, '.'));