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:
parent
21243fd7a0
commit
00e7d0793a
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user