Official SuiteCRM Outlook Plugin v4 has arrived - Compatible with the Outlook Web App or Outlook 2016+ connected to Office365 or Exchange Server 2016. A complete rebuild developed and maintained by SuiteCRM developers, the addon retains previous functionality while massively improves performance, reliability and stability!
#2072 - Issues on automatic email archiving
Hi, Testing the automatic email archiving, on some message (both with incoming and outgoing emails) we receive error 500. Log shows this error:
2019-07-04 17:52:48,597 | 7 | ERROR | Failed to archive MailItem 'R: Preventivo' from 'yyyyyy@xxxxxxxxx.com
System.Net.WebException: Errore del server remoto: (500) Errore interno del server.
in System.Net.HttpWebRequest.GetResponse()
in SuiteCRMClient.CrmRestServer.GetResponseString(HttpWebRequest request)
in SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String method, Object input)
in SuiteCRMClient.Email.ArchiveableEmail.GetRelatedIds(IEnumerable1 moduleKeys, IEnumerable
1 excludedAddresses)
in SuiteCRMClient.Email.ArchiveableEmail.Save(IEnumerable1 relatedRecords, String excludedEmails)
in SuiteCRMAddIn.Extensions.MailItemExtensions.Archive(MailItem olItem, EmailArchiveReason reason, IEnumerable
1 moduleKeys, String excludedEmails)
in SuiteCRMAddIn.BusinessLogic.EmailArchiving.ArchiveMailItem(Object item, IEnumerable`1 moduleKeys)
Host is Linux with PHP 7.0, and we tried both suiteCRM 7.11.7 and 7.10.18.
5 years ago
if it saying a 500 error then your PHP logs on your server would pick it up. Are you abel to check your PHP logs where your SuiteCRM is situated. I suspect it is a DB error or something else.
-Thanks
5 years ago
Hi, I checked the PHP logs and I only see this very recurring warning:
Don't know if it has anything to do with it. Anyway, I think it should not happen.
Thank you
5 years ago
Hi there,
Could you please ensure that you have upgraded to the newest version of the plug-in and if this issues continues if possible could you please send your Outlook DEBUG logs (logs set at DEBUG level) while replicating the issue to our support email address outlook[at]salesagility[dot]com referencing this Ticket #[2072]. If you could also include what PHP version the CRM is run on, that would be much appreciated and will help us investigate this issue further.
SuiteCRM Outlook Plugin Team
5 years ago
As I told privately to support (without having any further answer), I think the problem happens when there are quotes in the name of the sender. This is an example of the search query that returns an error:
The WHERE condition searches for ''Antonio' - that is A PART of the NAME of the sender - rather than for his email address. The wrong string has been taken from the message header, and it happens when there are quotes. As you can see, the starting quote is also taken, resulting in a syntax error.
5 years ago
Asterisks are there because I tried to put bold inside the code. This is the original WHERE condition, with the duplicate quotes resulting in a syntax error:
5 years ago
Hi there,
We have passed this on to our development team who are investigating the issues further. I will get back in contact when I know more.
SuiteCRM Outlook Plugin Team
5 years ago
Hi there,
This issue will be closed as we have received no response, if this is still an issue please comment and we will reopen this ticket. We recommend upgrading your SuiteCRM Outlook Plugin to the latest available version to ensure you stay up to date with new features and fixes.
SuiteCRM Outlook Plugin Team
5 years ago
My Apologies, Please Disregard the last message.
5 years ago
Hi there,
SuiteCRM Outlook Plugin has now been updated to version 3.0.22.0. We were unable to replicate this issue in the new version of the plugin. Could you please install the new update and test to ensure your issue has been resolved.
SuiteCRM Outlook Plugin Team