added mailbox and id to functioncall formatBody
[squirrelmail.git] / src / retrievalerror.php
index edce30cf9bd181d48fd40416798e815ab92fa8bc..e95657a63b780aea8ce152eff36194f16cff55a4 100644 (file)
@@ -21,7 +21,6 @@ require_once('../functions/page_header.php');
 require_once('../src/load_prefs.php');
 
 $destination = 'retrievalerror@squirrelmail.org';
-
 $attachments = array();
 
 function ClearAttachments() {
@@ -88,15 +87,15 @@ if ($imap_stream) {
 
 $body .= "\nFETCH line for gathering the whole message: $topline2\n";
 
-sendMessage($destination, '', '', 'submitted message', $body, 0);
+sendMessage($destination, '', '', 'submitted message', $body, False, 0);
 
 displayPageHeader($color, $mailbox);
 
-$par = 'mailbox='.urlencode($mailbox)."&passed_id=$passed_id";
+$par = 'mailbox='.urlencode($mailbox)."&passed_id=$passed_id";
 if (isset($where) && isset($what)) {
-    $par .= '&where='.urlencode($where).'&what='.urlencode($what);
+    $par .= '&where='.urlencode($where).'&what='.urlencode($what);
 } else {
-    $par .= "&startMessage=$startMessage&show_more=0";
+    $par .= "&startMessage=$startMessage&show_more=0";
 }
 
 echo '<BR>The message has been submitted to the developers knowledgebase!<BR>' .
@@ -104,4 +103,4 @@ echo '<BR>The message has been submitted to the developers knowledgebase!<BR>' .
      'Please submit every message only once<BR>' .
      "<A HREF=\"../src/read_body.php?$par\">View the message</A><BR>";
 
-?>
\ No newline at end of file
+?>