When not template are selected for mail, PWG uses default template..

Sent multi-part message in MIME format. (With only one part for the moment).

Improvement pwg_mail function.

git-svn-id: http://piwigo.org/svn/trunk@1809 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rub
2007-02-12 23:21:23 +00:00
parent 62c1993adc
commit 9ceec74971
8 changed files with 178 additions and 77 deletions
+2 -1
View File
@@ -84,7 +84,8 @@ WHERE '
."\n".l10n('Password').': '.$new_password
;
if (pwg_mail($row['email'], '', l10n('password updated'), $infos))
if (pwg_mail($row['email'],
array('subject' => l10n('password updated'), 'content' => $infos)))
{
$data =
array(