AnsweredAssumed Answered

Email case creation created by default user

Question asked by José Carlos Solorza on Jul 14, 2020
Latest reply on Jul 21, 2020 by Dhanalaskhmi Vusirika

We've implemented de inbound email automatic case creation. Following the next tutorial: 

Everything is working fine, however we noticed all cases are created by a specfic user. Our guess its the default user/ the account administrator.

We would like to change this so its created by a user from a team or a different specific user.

Just to be clear we are talkin about the "Created by" field not the "Assignee"


We've tried the next code in the InboundEmail.php in ./costume/modules/InboundEmail/


   $c->created_by = 'My.Username'

That would not work

Any guesses?