uvdesk / community-skeleton

UVdesk Opensource Community Helpdesk Project built for all to make a Full Ticketing Support System along with many more other features.
https://www.uvdesk.com
MIT License
7.15k stars 449 forks source link

FAIL TO REPLY TICKETS WITH EMAIL #704

Closed cableriassupport closed 8 months ago

cableriassupport commented 8 months ago

Bug report

Title

FAIL TO REPLY TICKETS WITH EMAIL

Issue Description

I INSTALL ALL GOOD AND CONFIGURATE EMAIL (GMAIL ACCOUNT). I CREATE A TICKET WITH ONE USER AND ASSIGN TICKET TO A ONE MEMBER. THE MEMBER REPLY THE TICKET IN THE WEBSITE. THE USER RECEIVED THE EMAIL WITH THE TICKETS WAS CREATED AND OTHER MAIL WITH THE REPLY OF THE MEMBER.

THE PROBLEM IS NOW WHEN THE USER REPLY THE TICKET WITH THE EMAIL (NOT IN THE WEBSITE). THE REPLY DON'T APPEAR IN THE TICKET... NOT EXIST. I DON'T KNOW THE PROBLEM.

Preconditions

Please provide as detailed information about your environment as possible.

uvdesk-community-v1.1.3
PHP 8.0   

Steps to reproduce

It is important to provide a set of clear steps to reproduce this bug.If relevant please include code samples.

I CREATE A NEW TICKET AND ASSIGN TO A MEMBER AND USING THE WEBSITE THE MEMBER REPLY. THE USER THAT CREATED THE TICKET RECEIVED A EMAIL WHEN THE TICKED WAS CREATED AND WHEN THE MEMBER REPLY. THE USER RESPONSE THE EMAIL (REPLY OF MEMBER) WITH GMAIL.. BUT THIS NOT APPEAR IN THE WEBSITE..

Expected result

I NEED THAT WHEN USER RESPONSE THE EMAIL THE REPLY ADD AUTOMATIC TO A TICKET SYSTEM.

image image

HELP ME PLEASE..

komal-sh-27 commented 8 months ago

@cableriassupport ,

Let us know, you have configured mailbox setting or not. Also, you will be run the refresh mailbox command in your project root directory for fetching mail replies in the tickets.

$ php bin/console uvdesk:refresh-mailbox your-configured-mailbox-email-address

If you are not setup mailbox option then follow the below blog:

https://www.uvdesk.com/en/blog/setup-gmail-mailbox-uvdesk-open-source-helpdesk/

Kind Respects, Uvdesk Team

cableriassupport commented 8 months ago

@cableriassupport ,

Let us know, you have configured mailbox setting or not. Also, you will be run the refresh mailbox command in your project root directory for fetching mail replies in the tickets.

$ php bin/console uvdesk:refresh-mailbox your-configured-mailbox-email-address

If you are not setup mailbox option then follow the below blog:

https://www.uvdesk.com/en/blog/setup-gmail-mailbox-uvdesk-open-source-helpdesk/

Kind Respects, Uvdesk Team

Hello,

Thanks for you reply. I have configurated mailbox.

I try the command but i have a fail: image

I used sysnology system.. (distribution linux) but have a particular commands.. Regards

komal-sh-27 commented 8 months ago

Hii @cableriassupport ,

I try the command but i have a fail: image

As per shared your screenshot, you have not running the command in your project root directory. Once you make a try with run the mailbox command in your project root directory. Please check the below screenshot:

image

Also, refresh mailbox command before clear cache of your project using the below command in your project root directory:

$ php bin/console c:c

Also, let us know which uvdesk version you are using.

Thanks and Regards, Uvdesk Team

cableriassupport commented 8 months ago

Hii @cableriassupport ,

I try the command but i have a fail: image

As per shared your screenshot, you have not running the command in your project root directory. Once you make a try with run the mailbox command in your project root directory. Please check the below screenshot:

image

Also, refresh mailbox command before clear cache of your project using the below command in your project root directory:

$ php bin/console c:c

Also, let us know which uvdesk version you are using.

Thanks and Regards, Uvdesk Team

HELLO,

LAST VERSION: 1.1.3

image

Now i have this fails...

komal-sh-27 commented 8 months ago

@cableriassupport ,

As per shared your screenshot, you will be check imap and mailparse extension is enabled or not in your php.ini file. For checking extension is enabled or not, run the below command, and check imap and mailparse extension is enabled or not:

$ php -m

image

If imap and mailparse extension is not enabled then first you will be installed imap and mailparse extension in your php. Please follow the below steps:

Please run the below command:

$ sudo apt install php8.0-imap

$ sudo apt install php8.0-mailparse

=> Note:

If unable extensions package dependency after use the command then at this moment you will be update all apache packages using the below command:

$ sudo add-apt-repository ppa:ondrej/php

or

$ sudo apt update

Once make a try with this solution.

Thanks and Regards, Uvdesk Team

cableriassupport commented 8 months ago

If I do php -m not show this extension.. but here this extension are enabled and I check in .ini and imap.so and mailparse.so is in configuration file..

image

Regards

cableriassupport commented 8 months ago

Can anyone help us?

komal-sh-27 commented 8 months ago

Let us know, you have after enabled these extentions restart your apache server or not. If not then once you restart your apache server.

Once you check your versions is same installed imap and mailparse according your php version. Also, should be shown the same extensions and version in php info() file and cli command line.

Also, let us know your are using windows (xamp or wampp) or ubuntu.

cableriassupport commented 8 months ago

Hello I restarted the server some many times.. all server not only apache. I am using SYSNOLOGY (NAS). Use DSM S.O. https://www.synology.com/en-global/dsm Is linux distribution but is a own operating system for SYSNOLOGY.

Regards

cableriassupport commented 8 months ago

Let us know, you have after enabled these extentions restart your apache server or not. If not then once you restart your apache server.

Once you check your versions is same installed imap and mailparse according your php version. Also, should be shown the same extensions and version in php info() file and cli command line.

Also, let us know your are using windows (xamp or wampp) or ubuntu.

Hello, I create a new virtual machine and install ubuntu for try.. i install all and try to forgot password in a one customer.. but not send email.. not works.. i don't known becasuse.. How can I check what the error is? because I don't get any error message. the account is set up correctly.

image

komal-sh-27 commented 8 months ago

@cableriassupport ,

Let us know, which email service you are using? Also, please share a screenshots of the configured option: swiftmailer, mailbox, and email settings.

We are informing to you, in your password field, you will be use the app password of your configured email address.

We are suggesting to you, once you can follow the below blog:

https://www.uvdesk.com/en/blog/setup-gmail-mailbox-uvdesk-open-source-helpdesk/

Thanks and Regards, Uvdesk Team

cableriassupport commented 8 months ago

@cableriassupport ,

Let us know, which email service you are using? Also, please share a screenshots of the configured option: swiftmailer, mailbox, and email settings.

We are informing to you, in your password field, you will be use the app password of your configured email address.

We are suggesting to you, once you can follow the below blog:

https://www.uvdesk.com/en/blog/setup-gmail-mailbox-uvdesk-open-source-helpdesk/

Thanks and Regards, Uvdesk Team

I try yo use gmail and other smtp service. In the two cases we have the same problem. image image image

The password is correct. I see the guide to create in gmail a password to use in app external and I am using this password.. this password works in the original server (sysnology).. in ubuntu not works.

komal-sh-27 commented 8 months ago

@cableriassupport ,

Let us know, after configuration your setup. You have cleared cache of your project. If not, once you make a try with clear cache of project using the below command in your project root directory:

$ php bin/console c:c

Now once you try with ticket created or ticket reply then check email received or not on customer email.

Thanks and Regards, Uvdesk Team

cableriassupport commented 8 months ago

@cableriassupport ,

Let us know, after configuration your setup. You have cleared cache of your project. If not, once you make a try with clear cache of project using the below command in your project root directory:

$ php bin/console c:c

Now once you try with ticket created or ticket reply then check email received or not on customer email.

Thanks and Regards, Uvdesk Team

I have tried to run that command but it still doesn't work...

komal-sh-27 commented 8 months ago

You can try with the once delete the channel and setup again with correct app password of gmail then clear cache of your project using the below command:

$ php bin/console c:c

Now try with the ticket created or reply in the ticket then check email received or not.

cableriassupport commented 8 months ago

ok... I do this and It's WORKS. Perfect now I have other problem.. I reply the email but not appear in ticket..

komal-sh-27 commented 8 months ago

Hello,

Thanks for the updated here. Let us know, you have refresh the mailbox command for fetching the mail replies or mail tickets.

If not, you will be run the refresh mailbox command in your project root directory for fetching mail replies in the tickets.

$ php bin/console uvdesk:refresh-mailbox your-configured-mailbox-email-address

Once you make a try with run the refresh mailbox command.

cableriassupport commented 8 months ago

php bin/console uvdesk:refresh-mailbox your-configured-mailbox-email-address

Great.. If I run this command works.. I go to ticket and the reply are in... but I need to run the command.. If i don't run not works.. Shouldn't it be automatic?

komal-sh-27 commented 8 months ago

Hello,

Great.. If I run this command works.. I go to ticket and the reply are in... but I need to run the command.. If i don't run not works.. Shouldn't it be automatic?

Please follow the below steps for crontab setup:

You have added your crontab with the following command:

$ crontab -e 

image

After edit your crontab save and close the crontab for now (CTRL + X, CTRL + Y, then ENTER if you selected nano).

  1. Now check your view the contents of your crontab, but not edit it, you can use the following command:

$ crontab -l

image

  1. Now check the setup is correct or not, so you will run the showing file path command till end in your crontab terminal check the below screenshot:

image

If you are showing the successfully mailbox command running so it means setup is working now.

Note:

If you are not showing like this, so you will followed the below steps:

Go to the project root directory, and check the current directory of your project folder, run the below command:   $ pwd

image

 2. Now here showing your current directory project folder path, so copy and paste it in crontab file again like this:

image

  1. Once again check this is working or not, please follow the above 3 step again. You will run the showing file path command till end in your crontab terminal check the below screenshot:

image

Now your crontab is saved, and an email should fetch in every 5 minutes.

If you are still facing the same error then let us know.

Thanks and Regards, Uvdesk Team

cableriassupport commented 8 months ago

THANKS for all. Now It's works very well.

One last doubt. We have a corporate signature in the email... and it always attaches several photos when a person answers... is it possible that uvdesk uses plain text?

image

One example:

image

komal-sh-27 commented 8 months ago

Hello,

THANKS for all. Now It's works very well

Thanks for the updated here. We are glad to know that your issue has been resolved now.

We have a corporate signature in the email... and it always attaches several photos when a person answers... is it possible that uvdesk uses plain text?

Yes, you can check it. It should be send the same content on customer email whatever we have added in email signature.

Thanks and Regards, Uvdesk Team

cableriassupport commented 8 months ago

Hello,

THANKS for all. Now It's works very well

Thanks for the updated here. We are glad to know that your issue has been resolved now.

We have a corporate signature in the email... and it always attaches several photos when a person answers... is it possible that uvdesk uses plain text?

Yes, you can check it. It should be send the same content on customer email whatever we have added in email signature.

Thanks and Regards, Uvdesk Team

Sorry, I think I explained myself wrong. We want that always that one person reply tickets by email it is always added in plain text to the tickets... currently when the people reply the system add images as attachments (these images are part of the email signature) no one has attached that...

komal-sh-27 commented 8 months ago

This is let you know that this is the current flow of UVdesk to add as a attachment of email signature images, system images or email replies images.

If you want to make any changes in the default flow of UVdesk helpdesk then it will be a part of paid customization and you need to discuss further on our support panel for the customization related requests.

Thanks and Regards, Uvdesk Team

cableriassupport commented 8 months ago

Ok, I understand. Thanks for your support.