I have the "email to case" feature turned on. Mostly all my e-mails come from a webform at my website, so all of them have the same "from" address that is not the real "sender" e-mail. Their e-mails are on the "replyTo" field. Is there a way to assign the correct e-mail to the case using the EspoCRM interface? If not, where is the best way to do it? I found some of the email to case code at "application\Espo\Services\InbounbEmail.php", but maybe there is a more elegant and correct way to map the fields.
I also would like to process some fields, as the default case description copies the full e-mail body, with a lot of css. What's the best way to do it? I read about writing a hook. I did a "beforeSave" at "application\Espo\Modules\Crm\Hooks\Case\myHook.ph p" (and cleared the cache), but it didn't fire. Any hints?
Thanks in advance!
I also would like to process some fields, as the default case description copies the full e-mail body, with a lot of css. What's the best way to do it? I read about writing a hook. I did a "beforeSave" at "application\Espo\Modules\Crm\Hooks\Case\myHook.ph p" (and cleared the cache), but it didn't fire. Any hints?
Thanks in advance!
Comment