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.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hedera-web",
|
||||
"version": "1.405.23",
|
||||
"version": "1.405.24",
|
||||
"description": "Verdnatura web page",
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
|
|
|
@ -23,7 +23,7 @@ class Mail extends Vn\Lib\Method
|
|||
|
||||
try {
|
||||
$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))
|
||||
{
|
||||
|
@ -47,7 +47,7 @@ class Mail extends Vn\Lib\Method
|
|||
}
|
||||
|
||||
$db->query ('UPDATE mail SET sent = #, error = # WHERE id = #',
|
||||
[$sent, $status, $row['id']]);
|
||||
[$sent, $status, $row->id]);
|
||||
}
|
||||
|
||||
$db->query ('COMMIT');
|
||||
|
|
Loading…
Reference in New Issue