- Posts: 15
- Thank you received: 1
new logMail()
- Facundo Esteban Palermo
- Topic Author
- Offline
- New Member
Less
More
2 years 3 months ago #153743
by Facundo Esteban Palermo
new logMail() was created by Facundo Esteban Palermo
Hello!
I think it is preferable that the logMail happens after the sendmail().
because if an error occurs, the logMail log is saved without being sent. $mailer = JFactory::getMailer();
try
{
//OSBHelper::logMail($email_type, $orderId, $email, $sbj, $body);
$mailer->sendMail($mailfrom, $fromname, $email, $sbj, $body1, 1);
OSBHelper::logMail($email_type, $orderId, $email, $sbj, $body);
}
catch (Exception $e)
{
JFactory::getApplication()->enqueueMessage($e->getMessage(), 'warning');
}
thanks for this new feature!
I think it is preferable that the logMail happens after the sendmail().
because if an error occurs, the logMail log is saved without being sent. $mailer = JFactory::getMailer();
try
{
//OSBHelper::logMail($email_type, $orderId, $email, $sbj, $body);
$mailer->sendMail($mailfrom, $fromname, $email, $sbj, $body1, 1);
OSBHelper::logMail($email_type, $orderId, $email, $sbj, $body);
}
catch (Exception $e)
{
JFactory::getApplication()->enqueueMessage($e->getMessage(), 'warning');
}
thanks for this new feature!
Please Log in or Create an account to join the conversation.
- Facundo Esteban Palermo
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 1
2 years 2 months ago #153784
by Facundo Esteban Palermo
Replied by Facundo Esteban Palermo on topic new logMail()
Hi! There is a bug in pagination. clicking on "page 2" redirects to /administrator/index.php and shows the mail templates view.
see attachments
best regards
see attachments
best regards
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12818
- Thank you received: 1659
2 years 2 months ago #153789
by Mr. Dam
Replied by Mr. Dam on topic new logMail()
OK, i will monitor this issue
Thanks
Dam
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12818
- Thank you received: 1659
2 years 2 months ago #153790
by Mr. Dam
Replied by Mr. Dam on topic new logMail()
Hi,
You can solve this issue by following below steps
1. Open file [root] -> administrator -> components -> com_osservicesbooking -> classes -> logs.html.php
2. Find:
and change to
Good luck
Dam
You can solve this issue by following below steps
1. Open file [root] -> administrator -> components -> com_osservicesbooking -> classes -> logs.html.php
2. Find:
Code:
<input type="hidden" name="task" value="emails_list" />
Code:
<input type="hidden" name="task" value="log_list" />
Good luck
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.