Importing Sent Mails

Dear All,

Iā€™m currently configuring a system with SuiteCRM version 8.7.1. The Emails module seems to be functioning correctly so far. Iā€™m able to import emails from my INBOX , and emails sent directly from the SuiteCRM interface are being registered without any issues.

However, Iā€™m encountering a specific issue with emails sent using an external mail client (e.g., Outlook, Thunderbird, etc.). These sent emails do not appear in the SuiteCRM interface, which means Iā€™m unable to list or import them into SuiteCRM at all.

Hereā€™s what Iā€™ve tried so far:

  1. Monitoring only the INBOX folder.
  2. Monitoring both INBOX and Sent folders simultaneously.

Despite these attempts, emails sent from an external mail client still do not show up in SuiteCRM, and as a result, Iā€™m unable to import them. Additionally, the Sent and Trash folders have been correctly configured.

Iā€™d greatly appreciate any guidance or suggestions on how to resolve this issue. Is there a specific configuration or workaround that I might be missing to ensure sent emails from external clients are visible in the SuiteCRM interface?

Thank you in advance for your help!

Hello Ricardo,

unfortunately, there is not built it solution to this (long standing) ā€œproblemā€.

In several projects, Iā€™ve used some workarounds to accomplish that.

Maybe there is an idea / option thatā€™ll help.

Hello @BastianHammer , thanks for your answer.

One question: Iā€™m hosting my own mail server using Postfix and Dovecot. I can create a virtual folder, that merges the INBOX and SENT folders. If I use this virtual folder as the monitored INBOX, will SuiteCRM work? or does it needs access to the ā€œrealā€ INBOX? (I guess I can try).

Pd: Thanks for your videos about SuiteCrm, they have been really helpful.

Edit: No, it does not work. It seems to be accessing the normal INBOX, no matter what I put in monitored folders.

I tried RT Archive Emails to Sugar & SuiteCRM :: Add-ons for Thunderbird , but Iā€™m getting the following error:

[Mon Jan 13 11:45:25.675480 2025] [php:error] [pid 7140:tid 7140] [client 192.168.160.85:35890] PHP Fatal error:  Cannot declare class LanguageManager, because the name is already in use in /var/www/suitecrm/public/legacy/include/SugarObjects/LanguageManager.php on line 50

Iā€™m using suitecrm 8.7.1

I added:

<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "moz-extension://f0b98108-302b-4016-b574-82faf9fd27a9"
</IfModule>

to public/.htaccess

and it seems to be working

As for the PHP Error:

I canā€™t imagine, that it is really declared twice.
Usually it comes from autoloading conflicts, namespace issues or if require is being used instead of require_once.

When does this error occur?

Thatā€™s only the connection between the plugin and the CRM?

Pity - it was a good idea.

Thanks, glad to help. :slight_smile:

@BastianHammer

When does this error occur?

After installing the plugin, Thunderbird shows a login window, that ask for CRM url, login, and password. The error appears when you hit the continue button in this window.

Thatā€™s only the connection between the plugin and the CRM?
Iā€™m not sure if I understand correctly your question, but I had only one instance of the plugin running, so I assume there is only one connection.

Regards

Iā€™ve installed it as well and ran into an issue as well.

If you check the code of the XPI, youā€™ll see that it requires the v4.1 API.

If I call the endpoint in the browser, the PHP code is being shown:
https://suite8demo.suiteondemand.com/legacy/service/v4_1/rest.php

@BastianHammer When opening the same link in my instance, the PHP code is also shown.
Iā€™m sorry but Iā€™m not much versed in PHP so I donā€™t know what this mean. Perhaps a miss configuration in Apache?

Regards

Looks like a PHP syntax issue.