I am trying UVDESK a week now and i want to ask :
I have a mailbox / user account which is member of out main email group it@example.com.
When the mailbox / user account receive an email everything works fine and a ticket opens in the UVDESK , when the group it@example.com receives an email and at the same time the mailbox / user account receive it too , because it's a member of the group, nothing happened. Is this correct or do i have to do something else ?
Thanks
Solved Fetch emails from a group
-
I am trying UVDESK a week now and i want to ask :
I have a mailbox / user account which is member of out main email group it@example.com.
When the mailbox / user account receive an email everything works fine and a ticket opens in the UVDESK , when the group it@example.com receives an email and at the same time the mailbox / user account receive it too , because it's a member of the group, nothing happened. Is this correct or do i have to do something else ?
Thanks -
@DD said in Fetch emails from a group:
nothing happened
We didn't clearly understand your concern.
If possible attach screenshot and tell us with a example.Do you want to perform some actions when a ticket generate.
-
Hi Sanjeev,
I'll try to write it with Notes :
An email group , it@example.com has members.
Member of the above group is : italerts@example.com
When someone send an email to the group , clearly, the member italerts@example.com receive it.
Now on UVDESK, Swiftmailer and mailbox settings are configured to italerts@example.com and when i send an email to italerts@example.com UVDESK creates the ticket, but when i send an email to the group it@example.com and the italerts@example.com receives , because it is a member of the group, there isn't any ticket in UVDESK. -
Can you please provide the row content of the email which you have received on italerts@example.com but not converted into ticket.
May be some header missing in our code for such scenario.If you do not want to show row content here you can create a support ticket by email us at support@uvdesk.com or from here with your mail row content.
-
What do you mean by row content ?
Do you mean a screenshot of the row at UVDESK tickets ? -
No, not uvdesk screenshot.
Row content is row data for mail.
Example:
Return-Path: uvdesk@example.com
Received: from pmxhero2.hybridzimbra.com (LHLO pmxhero2.hybridzimbra.com)
(192.168.4.203) by cloudzimbra3.hybridzimbra.com with LMTP; Tue, 25 May
2021 13:32:06 +0530 (IST)
Received: from pmxhero2.logix.local (localhost [127.0.0.1])
by pmxhero2.hybridzimbra.com (Postfix) with ESMTP id A9E0CF866E8
for test@example.com; Tue, 25 May 2021 08:02:06 +0000 (UTC)
Received: from pmpr2.hybridzimbra.com (pmpr2.hybridzimbra.com [192.168.4.209])
by pmxhero2.hybridzimbra.com (Postfix) with ESMTP
for test@example.com; Tue, 25 May 2021 08:02:06 +0000 (UTC)
Received: from [127.0.0.1] (ec2-44-232-217-212.us-west-2.compute.amazonaws.com [44.232.217.212])
by pmpr2.hybridzimbra.com (Postfix) with ESMTPSA id D12B31A6088
for test@example.com; Tue, 25 May 2021 13:32:05 +0530 (IST)
Content-Type: multipart/alternative;
boundary="--_NmP-9d3489ae047f04ce-Part_1"
List-ID: <notification.1549.forums.uvdesk.com>
List-Unsubscribe:
https://forums.uvdesk.com/email/unsubscribe/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW1wbGF0ZSI6Im5vdGlmaWNhdGlvbiIsInVpZCI6IjE1NDkiLCJ0eXBlIjoibmV3LXJlcGx5IiwiaWF0IjoxNjIxOTI5NzIyLCJleHAiOjE2MjQ1MjE3MjJ9.agUJLMFXneYvpROE3RcWuuFYB84Tup4-NqRCGN7hZX0
List-Unsubscribe-Post: List-Unsubscribe=One-Click
From: UVdesk Forums uvdesk@example.com
To: test@example.com
Subject: [UVdesk] Fetch emails from a group
Message-ID: cfc9cb0b-7ba4-d04c-3b02-51c9a78257dc@webkul.com
Date: Tue, 25 May 2021 08:02:02 +0000
MIME-Version: 1.0----_NmP-9d3489ae047f04ce-Part_1
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printableHELLO=20
DD HAS POSTED A REPLY TO: FETCH EMAILS FROM A GROUP -
Those are the headers from the email that i've sent to italerts@examle.com and the ticket create successfully :
Received: from VI1PR07MB4046.eurprd07.prod.outlook.com (2603:10a6:20b:219::19)
by AM0PR07MB4209.eurprd07.prod.outlook.com with HTTPS via
AM8P190CA0014.EURP190.PROD.OUTLOOK.COM; Tue, 25 May 2021 08:53:25 +0000
Authentication-Results: navarino.gr; dkim=none (message not signed)
header.d=none;navarino.gr; dmarc=none action=none header.from=navarino.gr;
Received: from VI1PR0701MB6925.eurprd07.prod.outlook.com
(2603:10a6:800:19e::12) by VI1PR07MB4046.eurprd07.prod.outlook.com
(2603:10a6:803:33::10) with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.12; Tue, 25 May
2021 08:53:24 +0000
Received: from VI1PR0701MB6925.eurprd07.prod.outlook.com
([fe80::308b:dbb7:2bda:50fc]) by VI1PR0701MB6925.eurprd07.prod.outlook.com
([fe80::308b:dbb7:2bda:50fc%7]) with mapi id 15.20.4173.018; Tue, 25 May 2021
08:53:24 +0000
Content-Type: application/ms-tnef; name="winmail.dat"
Content-Transfer-Encoding: binary
From: Dimitris Doulgeroglou - Navarino Dimitris.Doulgeroglou@navarino.gr
To: I.T Alerts italerts@navarino.gr
Subject: test1
Thread-Topic: test1
Thread-Index: AddRQ2q7reNUmfXLR1el9MH9CIj0Qg==
Date: Tue, 25 May 2021 08:53:23 +0000
Message-ID:
VI1PR0701MB69254963CFC0EA08C1E2602AE4259@VI1PR0701MB6925.eurprd07.prod.outlook.com
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-Exchange-Organization-SCL: -1
X-MS-TNEF-Correlator:
VI1PR0701MB69254963CFC0EA08C1E2602AE4259@VI1PR0701MB6925.eurprd07.prod.outlook.com
MIME-Version: 1.0
X-MS-Exchange-Organization-MessageDirectionality: Originating
X-MS-Exchange-Organization-AuthSource:
VI1PR0701MB6925.eurprd07.prod.outlook.com
X-MS-Exchange-Organization-AuthAs: Internal
X-MS-Exchange-Organization-AuthMechanism: 04
X-Originating-IP: [80.107.117.200]
X-MS-Exchange-Organization-Network-Message-Id:
8f65fff8-7c12-4474-90c0-08d91f5a8e22
X-MS-PublicTrafficType: Email
Return-Path: Dimitris.Doulgeroglou@navarino.gr
X-MS-Exchange-Organization-ExpirationStartTime: 25 May 2021 08:53:24.3327
(UTC)
X-MS-Exchange-Organization-ExpirationStartTimeReason: OriginalSubmit
X-MS-Exchange-Organization-ExpirationInterval: 1:00:00:00.0000000
X-MS-Exchange-Organization-ExpirationIntervalReason: OriginalSubmit
X-MS-Office365-Filtering-Correlation-Id: 8f65fff8-7c12-4474-90c0-08d91f5a8e22
X-MS-TrafficTypeDiagnostic: VI1PR07MB4046:
X-MS-Exchange-AtpMessageProperties: SA|SL
X-MS-Oob-TLC-OOBClassifiers: OLM:1728;
X-Microsoft-Antispam: BCL:0;
X-Forefront-Antispam-Report:
CIP:255.255.255.255;CTRY:;LANG:en;SCL:-1;SRV:;IPV:NLI;SFV:SKI;H:VI1PR0701MB6925.eurprd07.prod.outlook.com;PTR:;CAT:NONE;SFS:;DIR:INB;
X-MS-Exchange-AntiSpam-MessageData:
=?us-ascii?Q?ddtOQM4+TkUpuXsL3+dGbT5TTn8gkPIq3G5O/yWZ1KsnO2L87efO2whkNEO/?=
=?us-ascii?Q?oceuzdqOH2y7JfPci37+LpLuRty4GCVCQYIO+327nPtnZcyX49C2hFrPhHbZ?=
=?us-ascii?Q?waDsKlmAkwBoUy2Rr7aHLtmdislPacvlE3LNk8UjloWou8C9hEH2IlNwe9m1?=
=?us-ascii?Q?Ay3eUSd8YvyHy9gnI9qkKRm2S4JoESt38gzwhAUKq28hjDaptNS5MWiubng1?=
=?us-ascii?Q?Fqhk/PMY6wNHdiUFw/5lfN9GQOATDelF9rTpwk7n8w8CmuTPvsvsaPMuAnrE?=
=?us-ascii?Q?ywu6PQVQIa58ZeAQAvSar95W0oUtMIcLi/QePo5/ViM0ZxTTOYzXwgmhP2We?=
=?us-ascii?Q?0ILMcwO+SzrpZ30ML5Cd7XIjdCcmO/+PzJOciPAGSD9H6p2TxHuFC8XiflUC?=
=?us-ascii?Q?BfoYNpNfyXUrgU1br3HEvoW+XAVpub3XhL89cAXPF8hIFz69d8Q/dKCAvmli?=
=?us-ascii?Q?6PTumblhCfGz6qxC58Nnf2HCb10j/6CDfaoLGQXHZI1iN4+MMttVJY+vqlvn?=
=?us-ascii?Q?l8IBcTlx1bPD/6tBtdUgKMdJonErP6OSVFwEPbBJQuFOMbKPRRC5mDljFcoF?=
=?us-ascii?Q?Saot+oH28tyXIDQl67ZIZierHXdiZ4ibwztARab9Yvj/tuLdoy6tc6VxY/Rf?=
=?us-ascii?Q?uU2xQxJVrnuaqIPO3Z9hpViJbrroqFEyDRfQ/I2Zm21a8AmMjV3768CT/0FC?=
=?us-ascii?Q?QAQVRVx3TUELG/vToQaJHMYgXFRorxZjTV48zUoh+NIKKKP9dC0EhG4s7aHR?=
=?us-ascii?Q?qvPkoOXrQqEg3Et4Ofsew+ZD/hwAGhV29JHbPmzDNz4eIbRzoPtZRyyBufSl?=
=?us-ascii?Q?aIWOOZA2NuTp5l2x4YCGtjQdbxWZTjce4s5m0/e/okLKq8MQk438sRyZGMTr?=
=?us-ascii?Q?Gxh7dk74sYGldAFWWuOXNOg+tUJSQry4aqi6tdcBwKQqXLukmVEIpOjWbBLX?=
=?us-ascii?Q?M/OHo3HQkzrX46ox373RV7giq3EerjQ5jI6tjx7JuX+QjJtFN6Qt7K9PUXad?=
=?us-ascii?Q?hFcf05o5DKtPWLyy5TSmdcZ9VmjU2IP988sV0ObGBlldHr35B275ZLYxScvm?=
=?us-ascii?Q?ZphnXWGdIISsW1tZcJQ5eO/GS4UvG7Se7YgSosBSpHPK15jp7PFW7SsL/dyR?=
=?us-ascii?Q?9uCqVP6Imo/HXLO2G3e14Erx7VcB98HkDcScVVJEmHQC9x3tnqPoDrG/RxUR?=
=?us-ascii?Q?2gUdDXcW3Mt2/sV2xfXBhJQtfPT8OheW0BzgWAbYOvAhbgw+Cs7FmUcnvkQ6?=
=?us-ascii?Q?mCY2Xp42VHH47lEalSg6Sv8v0RInJSZ0YKxqkB48gp/UmQNKs2VNlAqjOwSP?=
=?us-ascii?Q?YbRirw/3LCXmqnUVq2rgphOF?=
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2021 08:53:24.0628
(UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: def2ec07-d979-45cd-87ce-71473c742120
X-MS-Exchange-CrossTenant-AuthSource: VI1PR0701MB6925.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-Network-Message-Id: 8f65fff8-7c12-4474-90c0-08d91f5a8e22
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: U5BrVFxTXZrCjN0z2LPL1skqUtEcR2IHKAxIUm3urvRx19JQkf4Z+bGiC7xxutashQeAB5Ok9QiVmGDoH4F+8uprbmbB37jx2GaB2ktUgnw=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB4046
X-MS-Exchange-Transport-EndToEndLatency: 00:00:01.8520059
X-MS-Exchange-Processed-By-BccFoldering: 15.20.4173.019
X-Microsoft-Antispam-Mailbox-Delivery:
ucf:0;jmr:0;auth:0;dest:I;ENG:(750129)(520011016)(706158)(944506458)(944626604);
X-Microsoft-Antispam-Message-Info:
K4a6Q1lUXAKdhLUHuBGdpsr9TxRRpq1K4lsqxLdWHAV7/QtqIO9LWyoqCvFJsXWAn9uP3DMHxuhBN4HUBvLYs1rCYvT3zWmIy2wPUClWiiyNZUzGuvYHu8KUCk+4XOjtFj6tBKz0l1JsTxwlHsDrzDh8l2hZKHH2eSsr5+EKIjxN1iABKfRUc39LBAmwcn+xYtWHGT368DEXQZx+httYrYsWoL4+qlIWtlDuYp2IXJZZZYdWgZq09otmd6N1Y4RTN/vxbUjlI/Huz1cdzAi2a7eFPyHdrWy7US7pKrB0IO6Yh/8HqZY3sekEknp9kQkrV2JF3088FL+Vbq3+uljGEOnGGPxSsQEvINRZyYRHO3w05MpNSnsvlO2hWAOH7awvW9Z2uus0VWFK4PJnlNl1dU4ANHEDkXJvM5XS7STzg+9k49PpdRzbCwkjAT4pUt9gupQEoPCKlWPt7c35UxAbxpWLqaRcPiPoPNL7xyvYv7B2E0dsd7d/CkkX0XzmB/lKCFPLgmgb8w/ioLlr33Lgef5wn/mX0kNh64d2mlF7fUzI9pvspJhwdjSG37pEE+a6xV8sPu45yjll9K1qWX6FwamzDGHklCPwghvgm/eOv53tZwUmDkyUeI90bEs5eT9Vtfce1UymF8eFjqDdQR+7mYjSgTUcsb1nsO0ksUvdcZcZ9/YtPe6NdwgaLVGcdT8xobo1lgVTWJAHtxVIVF1vZQ9ucomoYRDABASwcaNvpBI7jzrtbafW9gGvz3PVTUt5
X-MS-Exchange-Safelinks-Url-KeyVer: 1 -
And those are the headers from the email that i've sent to the IT@example.com where the ITALERTS is member but a ticket is not created :
Received: from VI1PR0701MB6911.eurprd07.prod.outlook.com
(2603:10a6:208:154::44) by AM0PR07MB4209.eurprd07.prod.outlook.com with HTTPS
via AM0PR02CA0103.EURPRD02.PROD.OUTLOOK.COM; Tue, 25 May 2021 09:26:33 +0000
Authentication-Results: navarino.gr; dkim=none (message not signed)
header.d=none;navarino.gr; dmarc=none action=none header.from=navarino.gr;
Received: from VI1PR0701MB6925.eurprd07.prod.outlook.com
(2603:10a6:800:19e::12) by VI1PR0701MB6911.eurprd07.prod.outlook.com
(2603:10a6:800:19a::17) with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.16; Tue, 25 May
2021 09:26:32 +0000
Received: from VI1PR0701MB6925.eurprd07.prod.outlook.com
([fe80::308b:dbb7:2bda:50fc]) by VI1PR0701MB6925.eurprd07.prod.outlook.com
([fe80::308b:dbb7:2bda:50fc%7]) with mapi id 15.20.4173.018; Tue, 25 May 2021
09:26:32 +0000
Content-Type: application/ms-tnef; name="winmail.dat"
Content-Transfer-Encoding: binary
From: Dimitris Doulgeroglou - Navarino Dimitris.Doulgeroglou@navarino.gr
To: Navarino I.T Department it@navarino.gr
Subject: Test IT
Thread-Topic: Test IT
Thread-Index: AQHXUUgMeqW1TBak7Um14zkRrbx/mw==
Date: Tue, 25 May 2021 09:26:31 +0000
Message-ID:
VI1PR0701MB6925A42AA66A69065AB8792EE4259@VI1PR0701MB6925.eurprd07.prod.outlook.com
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-Exchange-Organization-SCL: -1
X-MS-TNEF-Correlator:
VI1PR0701MB6925A42AA66A69065AB8792EE4259@VI1PR0701MB6925.eurprd07.prod.outlook.com
MIME-Version: 1.0
X-MS-Exchange-Organization-MessageDirectionality: Originating
X-MS-Exchange-Organization-AuthSource:
VI1PR0701MB6925.eurprd07.prod.outlook.com
X-MS-Exchange-Organization-AuthAs: Internal
X-MS-Exchange-Organization-AuthMechanism: 04
X-Originating-IP: [37.6.3.107]
X-MS-Exchange-Organization-Network-Message-Id:
c2ddf258-f581-47f7-5fe5-08d91f5f2f09
X-MS-PublicTrafficType: Email
Return-Path: Dimitris.Doulgeroglou@navarino.gr
X-MS-Exchange-Organization-ExpirationStartTime: 25 May 2021 09:26:32.2205
(UTC)
X-MS-Exchange-Organization-ExpirationStartTimeReason: OriginalSubmit
X-MS-Exchange-Organization-ExpirationInterval: 1:00:00:00.0000000
X-MS-Exchange-Organization-ExpirationIntervalReason: OriginalSubmit
X-MS-Office365-Filtering-Correlation-Id: c2ddf258-f581-47f7-5fe5-08d91f5f2f09
X-MS-TrafficTypeDiagnostic: VI1PR0701MB6911:
X-MS-Exchange-AtpMessageProperties: SA|SL
X-MS-Oob-TLC-OOBClassifiers: OLM:1728;
X-Microsoft-Antispam: BCL:0;
X-Forefront-Antispam-Report:
CIP:255.255.255.255;CTRY:;LANG:en;SCL:-1;SRV:;IPV:NLI;SFV:SKI;H:VI1PR0701MB6925.eurprd07.prod.outlook.com;PTR:;CAT:NONE;SFS:;DIR:INB;
X-MS-Exchange-AntiSpam-MessageData:
=?us-ascii?Q?d/BiHQ+oIdzKcxS0Ua898sjT6snev/GbQ39hjPd9hmH/Ld/XoINg+tusknPU?=
=?us-ascii?Q?mSJ96fxxOMSEu81uiVwK2sM/JH6HU41jWRKhdceerLAR2A8U5Uj3754JE0BK?=
=?us-ascii?Q?7JLIT2B2crEPUzFm+vo+D0UJeVyNn5lHwAAQueLvEt0A4tqzML+6nY3kL4sa?=
=?us-ascii?Q?anK3+c+4vAPUMq/IdFoD0lVGjwhxUSjaxGr/GkXtCFsc6g5s/PLonDRnZRVe?=
=?us-ascii?Q?8kKeESCU5zpZ5HH8Pi9OlW1KxAryFufLXABSZLH7KqsOb/+A1C10/a0ewoAe?=
=?us-ascii?Q?7mt3/eU7zjx5BWb2yKhlS1oP4qnAyr73rzeHcOMbnA7/SQAT6naZJ81Rhl3f?=
=?us-ascii?Q?a/d6Pkn6Bj1q0V9ool4dvZkilgvr5gvrfkhb92Eq/s20mQ5EDpWT6KDg9LSG?=
=?us-ascii?Q?Oy6aDan8Z77KfHYIUgVKs7I8xdjEfDT46CVcKucn8QlKH0XoiC18tM0M7vr5?=
=?us-ascii?Q?g9DRUXMc22lkiVTFahSg9M9Lni5l+ai/GeqsXJtY23CbrEQM2vc69gEUc2qH?=
=?us-ascii?Q?/aYmLcsv2vBy9GZNzxFCvYntuy0tXWgVRAkW2HiDH1WHpW48ja1wQ3KQfkUu?=
=?us-ascii?Q?irK5iyUkQznXvPGPpwbFmySKg8SOsa9f8yP30QzlCHGItcBtNEYeuc9x3ofH?=
=?us-ascii?Q?vXFnlhdygMEBXHyIeMEcInFwdc5CP8WvRuNNvdCnj033UHAJ5pc4RMZWkSNv?=
=?us-ascii?Q?1wBN+4J4i87MENBfGCh9m4vk7LghIzMBitqPqBW/ovfrNLrn5jDdZLltjlYG?=
=?us-ascii?Q?uqP80ohUIwyD9W/irWlP0jUiQo8QvCwoMqyKdlMeORzFCjcr9FxKQC71h5Ie?=
=?us-ascii?Q?7TDhCwo96MPgFFAotAWUFquwr2gfq67jDfw0JtqSDyEuGHAkqDVAVENsEn3U?=
=?us-ascii?Q?bDDUs1eVA8ZL/ITCB+TawQgy7qK0fsBv1hUGQ1sw87K50Al0cKW2VrD2FCHk?=
=?us-ascii?Q?mgEdiqqE4KheCbYU+N8j+n0Tzc1752luspgzAuEeQvq0DQNvH+2eXhojFEvL?=
=?us-ascii?Q?Xpn5LymUU0DNlu1pgTvVhifN7TaXnv6cwXGa5GNx3E/KpP79FlMYoXgfsOXP?=
=?us-ascii?Q?+iFiLpd0XvJbc0FKiYmPhjnJkf/606FgL/mdBjZS9xdAccQroNnUMb4nCBeJ?=
=?us-ascii?Q?4n7AMNAQ6bixo/aSy253bAr5UbWCEafTJ2qv7fbbcoaVjkdyZLIRCHhqXjRQ?=
=?us-ascii?Q?cOfH6qknXga9zYb4imv/P4rQ/YcHYUlkr8OtPHga9nl2Otu8Edpt+D8eZqB+?=
=?us-ascii?Q?GVzIZxcOH0VlRtiSTE3pILciBW9zCgkwbS6thlQyvbErnV2tQJruHH44JD9p?=
=?us-ascii?Q?sbc=3D?=
X-Auto-Response-Suppress: DR, OOF, AutoReply
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2021 09:26:31.9371
(UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: def2ec07-d979-45cd-87ce-71473c742120
X-MS-Exchange-CrossTenant-AuthSource: VI1PR0701MB6925.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-Network-Message-Id: c2ddf258-f581-47f7-5fe5-08d91f5f2f09
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: CRBjfNs0dgPxaw+6vj8rJFUGuISRHaVeHx6AYCzxW2Cn0d7LmHR8Bjx+PbBpA7ybYmwJBmb76SihdxHBjKUihyz6rmF3pIxyzItLtTyYE9U=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0701MB6911
X-MS-Exchange-Transport-EndToEndLatency: 00:00:01.3053682
X-MS-Exchange-Processed-By-BccFoldering: 15.20.4173.019
X-Microsoft-Antispam-Mailbox-Delivery:
ucf:0;jmr:0;auth:0;dest:I;ENG:(750129)(520011016)(706158)(944506458)(944626604);
X-Microsoft-Antispam-Message-Info:
ofxqRq4q8MQTD7tv/KwlACw6ucG9Jasxabis1lu6hS+vW//3L+bawXD0zynSUGCvwAEPkCIPIoH5AYjYHpauS5YYc2mMMVAOx8Rr9Mzw3N4wnRbAqtvlclYYOEtczxm5q9EGO3EzqG2R5xTBj7XOO/zlvDsWqhdXP9kRcJSvV5Pb9V7YGerpF8DEqjuP/RB6oBGmFyAbchB2X6vXSkaS4L0q+AwrnjaMYAfnfpTHbPzJMRGujBVgjUKe5prtSFS9yYGNHgnExyy4GC8KtVzBCcxylGpZO2uBQ1NgxZ/1YO5E1jBBWQi0U24DS2Eaxgw75psq/FO7BojHmadddP/sFMEDF4ashSRMal/AdURvPi4PMMPDkCGdEEJko4RQraVsrJVSl5nfSMxBcgKzWCqaoZEAGk5Cgddv0+ZzEJIevptfsVTOrROnHOnQ1JjmrAv6yBHstQqGRCthxQi4ynykkm8SFG4yosUO9LXAmhH70CwQ9k6x+VuRaQEnYm/KaN+FvfAkriacLRxOVyCbi5moYwsthn7kSLu2pz2qkKKdt47MBSLJtLiqv+nMVg2NFZt1mFH/J6wVYjwOaw/oBehM6dedYGbyITG0UgJ+KRrbEl4WS9/7W+xIfThLFh+1mLr++8DQPmNH4lcgGuPmyGccmL7pBUX79+xR3tEFfu4OYIX/RTJlmocFL9Lol4t5L5ioNo7+Qx4zZcFhTtrFRc0LlU2ijjsqbu3XfkJv2O+HfIsQIKxJ1mKJzwqSCxAaZ/Yc -
As I checked your issue . this is because your raw content.
Update the following path function given below :
-
Open the MailboxService file, path of this file is given here :
-> project-name\vendor\uvdesk\mailbox-component\Services\MailboxService.php -
Find the function "getEmailAddress" , you can also see this function around line 150.
-
Take a backup of the code first and then delete the whole function (only getEmailAddress function) and paste the given code there .
public function getEmailAddress($addresses)
{
$check_mail = "";
foreach ((array) $addresses as $address) {
if($address['address'] != null){
$email = explode(" ",$address['address']);
$check_mail = $email[1];
}
$check_mail = $check_mail ?? $address['address'];
if (filter_var($check_mail, FILTER_VALIDATE_EMAIL)) {
return $check_mail;
}
}
return null;
}Now, save the file and run the mailbox refresh command.
I hope this will work , if not please let me know .
-
-
I get a Syntax Error.
- Processing uvdesk mailbox configuration.
14:06:11 ERROR [console] Error thrown while running command "uvdesk:refresh-mailbox "italerts@navarino.gr". Message: "syntax error, unexpected '?'" ["exception" => ParseError { …},"command" => "uvdesk:refresh-mailbox "italerts@navarino.gr"","message" => "syntax error, unexpected '?'"]
It is in the line : $check_mail = $check_mail ?? $address['address']; I believe is the questionmarks.
- Processing uvdesk mailbox configuration.
-
public function getEmailAddress($addresses)
{
$check_mail = "";
foreach ((array) $addresses as $address) {
if($address['address'] != null){
$email = explode(" ",$address['address']);
$check_mail = $email[1];
}
$check_mail = $check_mail ? $check_mail : $address['address'];
if (filter_var($check_mail, FILTER_VALIDATE_EMAIL)) {
return $check_mail;
}
}
return null;
}try this once , if you still getting the same error please let me know
-
I got the same error. I run the the refresh-mailbox with --verbose command and i got the below error :
- Processing uvdesk mailbox configuration.
16:38:42 ERROR [console] Error thrown while running command "uvdesk:refresh-mailbox "italerts@navarino.gr" -v". Message: "syntax error, unexpected '?'" ["exception" => ParseError { …},"command" => "uvdesk:refresh-mailbox "italerts@navarino.gr" -v","message" => "syntax error, unexpected '?'"]
In MailboxService.php line 55:
[Symfony\Component\Debug\Exception\FatalThrowableError]
syntax error, unexpected '?'Exception trace:
at C:\wamp\apache2\htdocs\uvdesk\vendor\uvdesk\mailbox-component\Services\MailboxService.php:55
require() at C:\wamp\apache2\htdocs\uvdesk\var\cache\prod\ContainerKpvVYYE\srcApp_KernelProdContainer.php:516
ContainerKpvVYYE\srcApp_KernelProdContainer->load() at C:\wamp\apache2\htdocs\uvdesk\vendor\symfony\dependency-injection\Container.php:243
Symfony\Component\DependencyInjection\Container->make() at C:\wamp\apache2\htdocs\uvdesk\vendor\symfony\dependency-injection\Container.php:225
Symfony\Component\DependencyInjection\Container->get() at C:\wamp\apache2\htdocs\uvdesk\vendor\uvdesk\mailbox-component\Console\RefreshMailboxCommand.php:60
Webkul\UVDesk\MailboxBundle\Console\RefreshMailboxCommand->execute() at C:\wamp\apache2\htdocs\uvdesk\vendor\symfony\console\Command\Command.php:255
Symfony\Component\Console\Command\Command->run() at C:\wamp\apache2\htdocs\uvdesk\vendor\symfony\console\Application.php:952 Symfony\Component\Console\Application->doRunCommand() at C:\wamp\apache2\htdocs\uvdesk\vendor\symfony\framework-bundle\Console\Application.php:87
Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at C:\wamp\apache2\htdocs\uvdesk\vendor\symfony\console\Application.php:273
Symfony\Component\Console\Application->doRun() at C:\wamp\apache2\htdocs\uvdesk\vendor\symfony\framework-bundle\Console\Application.php:73
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at C:\wamp\apache2\htdocs\uvdesk\vendor\symfony\console\Application.php:149
Symfony\Component\Console\Application->run() at C:\wamp\apache2\htdocs\uvdesk\bin\console:42 - Processing uvdesk mailbox configuration.
-
@DD Have you tried to clean cache after the php file edit?
SSH command: php bin/console c:c -
Yes i tried clear cache but i am getting the same syntax error
-
Can you please share the screenshot of your updated code. ?
-
-
you did not pasted the code in correct formate , That is the reason it is giving you the error . you wrote "public " & "function getEmailAddress($addresses)" in two different line .
public function getEmailAddress($addresses) { $check_mail = ""; foreach ((array) $addresses as $address) { if($address['address'] != null){ $email = explode(" ",$address['address']); $check_mail = $email[1]; } $check_mail = $check_mail ? $check_mail : $address['address']; if (filter_var($check_mail, FILTER_VALIDATE_EMAIL)) { return $check_mail; } } return null; }
-
Thank you for the reply. As for the "Syntax Error" corrected according to your suggestion.
The mail issue still remains. I am getting the emails/tickets of the mailbox and of the group that the mailbox belongs to. -
I mean that when i refresh mailbox the i am receiving the emails of the italerts mailbox and not the emails of the IT group that the italerts mailbox is member.
-
Okay , now I have done some changes for you .
Please follow the given steps:
-
Open the MailboxService file, path of this file is given here :
-> project-name\vendor\uvdesk\mailbox-component\Services\MailboxService.php -
Open the Updated MailboxService file from here.
-
Take a backup of your project MailboxService file first.
-
Now copy the whole code from github Updated MailboxService file & past it in your project Mailbox service file .
-
run the SSH command: php bin/console c:c & after that run the Mailbox refresh command.
I hope this time it will work for you , If not please let me know
-