Closed marvelindxb closed 1 year ago
This is the error I'm getting.
Please look into it to put it in a test run.
@marvelindxb,
Can you please share the project log files available in the you-project-folder/var/log directory relative to your project directory.
In case these files are of large size, I would first suggest you to delete these files and try refreshing your mailbox again.
In case of any issues, they should be logged into the newly generated log files accordingly. You can then share these log files with us which would help us look into what went wrong and where.
This is the requested log file! dev1.log
Any update on this issue @UVdesk Team???
Hello marvel,
Do you have access to postman that can be used debug the issue? If so, I'll share with you steps on how you can go about debugging this issue.
Sure I can do that, if you guide me and update you the result.
Good morning, waiting for the update? Any luck!!!
Hello marvel,
Please follow the below steps for postman debug:
Step 1: First you will fetch the mailbox command here you shown an error while fetching emails
Step 2: Now you will be some changes in your code in RefreshMailboxCommand.php file follow the below path:
vendor/uvdesk/mailbox-component/Console/RefreshMailboxCommand.php
Add the below code in your code for download emails content in local. Also, attached a screenshot:
// Download emails
$timestamp = time();
file_put_contents(getcwd() . "/var/mail-$timestamp.eml", $message);
Step 3: Now go to the MailboxChannelXHR.php file follow the below path:
vendor/uvdesk/mailbox-component/Controller/MailboxChannelXHR.php
And add this line above of try catch :
$processedThread = $this->mailboxService->processMail($request->get('email'));
Check the below screenshots add like this:
Step 4: Now refresh the mailbox command again and here shows your mails downloads with email contents. You can check the downloaded email on var/emails
Step 5: Now open your terminal when you have refreshed your mailbox command. Here you will be shown a api mailbox url copy this url: [http://localhost/uvdesk-latest/hd-1.1.3/public/mailbox/listener]
Step 6: Now open the postman and add this email content.
Action:: Post
Requested-url: http://your-helpdesk-url/public/mailbox/listener
Key:: email
Value:: email-raw-content
After that click on send button and here you will be shown a email exception if any error and check it.
Kind Respects, Uvdesk Team
it is still showing the same error
Additionsaly I checked with postman also and found this error.
@marvelindxb ,
Let us know, you are still facing the same issue or not. At this moment, we are closing this issue. If you have still facing the same issue then you can reply on the same thread.
Thanks and Regards Uvdesk Team
Discussed in https://github.com/uvdesk/community-skeleton/discussions/690
After the php syncing it started showing the below error message. " - Establishing connection with mailbox
Found a total of 15 emails in mailbox since 21 August 2023
Processing all found emails iteratively:
API http://10.108.0.150/uvdesk/public/mailbox/listener