testing reporting handler

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1753 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2008-04-15 10:11:04 +00:00
parent 12cecc7380
commit efeb7aa3f3
+1 -1
View File
@@ -5,7 +5,7 @@ function insert_attachment($data,$boundary,$filename) {
$mymessage = "\n\n--".$boundary."\n";
$mymessage .= "Content-Type: application/octet-stream; name=\"".$filename."\"\n";
$mymessage .= "Content-Transfer-Encoding: base64\n";
//$mymessage .= "Content-Disposition: attachment\n";
$mymessage .= "Content-Disposition: attachment; filename=\"".$filename."\"\n\n";
$mymessage .= chunk_split(base64_encode($data));
$mymessage .= "\n\n";
$mymessage .= "--".$boundary."--\n\n\n";