1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2024-11-25 03:43:33 +01:00

Save mailbox email as customer

This commit is contained in:
FreeScout 2020-03-05 01:30:54 -08:00
parent 21243fd7a0
commit 00e7d0793a

View File

@ -950,9 +950,9 @@ class FetchEmails extends Command
{ {
foreach ($emails as $item) { foreach ($emails as $item) {
// Email belongs to mailbox // Email belongs to mailbox
if (in_array(Email::sanitizeEmail($item->mail), $exclude_emails)) { // if (in_array(Email::sanitizeEmail($item->mail), $exclude_emails)) {
continue; // continue;
} // }
$data = []; $data = [];
if (!empty($item->personal)) { if (!empty($item->personal)) {
$name_parts = explode(' ', $item->personal, 2); $name_parts = explode(' ', $item->personal, 2);