Inbound Email - Case Creation capture email address

HI folks,

I have cases being created by email address automatically but was wondering if there is a way to capture the from email address in the case?

In sugarcrm ce it was possible to edit InboundEmail.php (/modules/inboundemail) function handleCreateCase($email, $userId) to copy address the from address by inserting the following ($c->email_c = $email->from_addr;) into the function, this does not appear to work in SuiteCRM.
Does it handle the case creation differently? And if so any idea where this would be?

Hi I know it’s old but I was searching for the same and your post gave me an ideea.

The file you’re looking for it is called AOPInboundEmail.php in the same folder …/modules/InboundEmail

at row 82 (for version 7.6.1) there is

$c->priority = 'P1';

changing P1 in P2 will default to medium priority on the email creation.
I don’t suppose it is upgrade safe but it is a quick fix