Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mail Manager error
#1
Hi all
i've coreBOS 8.0 (2aa8606cf20210902)
i've a problem (again) with Finding Relation in mail manager
when i try to attach an inbound email to an existing contact it doen't work.
Opnening Browser inspection i found this error


VM6211:1 Uncaught SyntaxError: Unexpected token S in JSON at position 0
at JSON.parse (<anonymous>)
at Object.<anonymous> (VM5980 MailManager.js:604)
at i (jquery.js:2)
at Object.fireWith [as resolveWith] (jquery.js:2)
at y (jquery.js:4)
at XMLHttpRequest.c (jquery.js:4)
(anonymous) @ VM5980 MailManager.js:604
i @ jquery.js:2
fireWith @ jquery.js:2
y @ jquery.js:4
c @ jquery.js:4
XMLHttpRequest.send (async)
send @ csrf-magic.js:52
send @ jquery.js:4
ajax @ jquery.js:4
mail_associate @ VM5980 MailManager.js:598
mail_associate_actions @ VM5980 MailManager.js:663
onchange @ index.php?action=index&module=MailManager:1
ListPicker._handleMouseUp @ unknown

For Your Knowledge, perhaps is my vps iussue:
to send email i have to change in file class.phpmailer.php:769
public function isSMTP()
{
$this->Mailer = 'sendmail'; /* original was smtp */

have a nice day
Lorenzo
Reply
#2
I can confirm this is an issue in coreBOS, looking into it
Joe
TSolucio
Reply
#3
pull the code to apply this change: https://github.com/tsolucio/corebos/commit/1d5ab5b5604ffddf113097f2b1964d1dceb58d9a

and see if it works again, as far as I can see it is due to a change in the way mysql/mariadb is handling empty fields

Let me know how it goes
Joe
TSolucio
Reply
#4
Joe great!
It works. without errors or warnings
Tnx
have a nice day
Lorenzo
Reply
#5
:-) you too!!
Joe
TSolucio
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)