Mailer bugs solved
This commit is contained in:
parent
883e5e0dcc
commit
5c05a2ef50
|
@ -1,4 +1,4 @@
|
||||||
hedera-web (1.405.23) stable; urgency=low
|
hedera-web (1.405.24) stable; urgency=low
|
||||||
|
|
||||||
* Initial Release.
|
* Initial Release.
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "hedera-web",
|
"name": "hedera-web",
|
||||||
"version": "1.405.23",
|
"version": "1.405.24",
|
||||||
"description": "Verdnatura web page",
|
"description": "Verdnatura web page",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -23,7 +23,7 @@ class Mail extends Vn\Lib\Method
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$mail = $mailer->createObject ($row->to, $row->text, $row->subject);
|
$mail = $mailer->createObject ($row->to, $row->text, $row->subject);
|
||||||
$mail->AddReplyTo ($row->reply_to, $conf->sender_name);
|
$mail->AddReplyTo ($row->reply_to, $row->reply_to);
|
||||||
|
|
||||||
if (!empty ($row->path))
|
if (!empty ($row->path))
|
||||||
{
|
{
|
||||||
|
@ -47,7 +47,7 @@ class Mail extends Vn\Lib\Method
|
||||||
}
|
}
|
||||||
|
|
||||||
$db->query ('UPDATE mail SET sent = #, error = # WHERE id = #',
|
$db->query ('UPDATE mail SET sent = #, error = # WHERE id = #',
|
||||||
[$sent, $status, $row['id']]);
|
[$sent, $status, $row->id]);
|
||||||
}
|
}
|
||||||
|
|
||||||
$db->query ('COMMIT');
|
$db->query ('COMMIT');
|
||||||
|
|
Loading…
Reference in New Issue