Dolibarr - Email Collector - New Ticket

Good day Team,

I am trying to make my tickets appear from incoming SMTP. I am struggling to understand how to configure “Operations to do by collector”. I can’t keep it blank, and I can’t figure out right regex that works with the system.

I have tried to study the forum and docs, but no suitable regex is available with explaination that will work.

My Purpose is to fetch Emails from SMTP inbox, and Dolibarr should load it as Ticket with below conditions :

  • If The user is present in the database, it should link this ticket with the Thirdparty.
  • If the User is not present in the database, it should list ticket as unassigned 3rd party.
    User = Email address.

May you please recommend on this?

Kind regards,
Techj

Hi Techjay,
SMTP is used for sending mails, the configuration is done within the eMail-Collector module, just enter the IMAP Hostname, the IMAP Port, the user name and password, if you are using office365 account, you need to use OAuth2-Token, there are a few guides in the forum, just search for oauth2.
At the Filtwer section choose

“Message of a conversation that was NOT initiated by an initial email sent by Dolibarr”

In the activity section choose

Create Ticket the way you need it.

The problem that I am stuck with is at the “EmailCollector” module.

This Configuration is something I am not able to figure out.

I have tried second config as below, still the same:

SMTP is right, Dolibaar is able to collect the info that there’s an email available, Its a webmail, not on exchange just incase if that information helps.

Hi, maybe we check step by Step,
if you have Mails can you see that mails are in your PostBox as in my ScreenShot (1 Mail in Red)?

I have Loaded two images,

  1. Doli.png - This will show that there’s 1 Item inside inbox.
  2. doli 1.png - when you hit test

collect, what’s happening there.

Please also make a note :

  • I want the Email to be loaded if It can’t find perfect match, not to assign to a Random gussed third party. I will manually assign it to Third party after evaluating the source email.

This is the second image.

Hi,
you get a searcht string error on the top, did you try changing the host charset from utf-8 to us-ascii?

This Did the magic. That was the issue. Only Experienced Plumber knows where to hit the hammer.

Thank you.

1 Like