aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_mail.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions_mail.inc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php
index 9d69f474e..b4ad2c4e3 100644
--- a/include/functions_mail.inc.php
+++ b/include/functions_mail.inc.php
@@ -704,6 +704,9 @@ function pwg_mail($to, $args = array())
$filename .= '.html';
}
$file = fopen($filename, 'w+');
+ fwrite($file, $to);
+ fwrite($file, $cvt_subject);
+ fwrite($file, $headers);
fwrite($file, $content);
fclose($file);
return true;