aboutsummaryrefslogtreecommitdiffstats
path: root/include/delivery.php
diff options
context:
space:
mode:
authorMichael <icarus@dabo.de>2012-02-25 01:10:45 +0100
committerMichael <icarus@dabo.de>2012-02-25 01:10:45 +0100
commita74b0746b1e39d86aca4f665cfded03e6b344240 (patch)
treeb1da5791878ce39e06dfb0e3e2f2e5d0436b32f1 /include/delivery.php
parent0ba45eb74543fc6377c48ac17d8b632e431e9467 (diff)
downloadvolse-hubzilla-a74b0746b1e39d86aca4f665cfded03e6b344240.tar.gz
volse-hubzilla-a74b0746b1e39d86aca4f665cfded03e6b344240.tar.bz2
volse-hubzilla-a74b0746b1e39d86aca4f665cfded03e6b344240.zip
multipart messages complete, message-id conversion done.
Diffstat (limited to 'include/delivery.php')
-rwxr-xr-xinclude/delivery.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/delivery.php b/include/delivery.php
index 98c4f75df..97a76965a 100755
--- a/include/delivery.php
+++ b/include/delivery.php
@@ -438,14 +438,14 @@ function delivery_run($argv, $argc){
$file = tempnam("/tmp/friendica/", "mail-out-");
file_put_contents($file, json_encode($it));
- $headers .= 'Message-Id: <' . email_cleanupmessageid($it['uri']). '>' . "\n";
+ $headers .= 'Message-Id: <' . iri2msgid($it['uri']). '>' . "\n";
//logger("Mail: uri: ".$it['uri']." parent-uri ".$it['parent-uri'], LOGGER_DEBUG);
//logger("Mail: Data: ".print_r($it, true), LOGGER_DEBUG);
//logger("Mail: Data: ".print_r($it, true), LOGGER_DATA);
if($it['uri'] !== $it['parent-uri']) {
- $headers .= 'References: <' . email_cleanupmessageid($it['parent-uri']) . '>' . "\n";
+ $headers .= 'References: <' . iri2msgid($it['parent-uri']) . '>' . "\n";
if(! strlen($it['title'])) {
$r = q("SELECT `title` FROM `item` WHERE `parent-uri` = '%s' LIMIT 1",
dbesc($it['parent-uri'])