Closed senthil-kms closed 1 year ago
@senthil-kms
how to add our mail in UVDESK and access the mail function
Let us know, if you are talking about mail sent from the uvdesk helpdesk. If yes then you will setup of the swift mailer and email settings option for sends mail on the customer mail when a ticket is created on Uvdesk.
Please follow this blog: https://www.uvdesk.com/en/blog/setup-gmail-mailbox-uvdesk-open-source-helpdesk/
@Komal-sharma-2712
I have created swift mailer and the email setting option but the mail is not receiving to customer and to the admin. I got an error message : Warning ! Swiftmailer not working. An error has occurred while sending emails!
Whether there is any other possible to generate mail
@Komal-sharma-2712
Sorry i have closed the issue but i need solution for this any other possible to add the mail
@senthil-kms
Open the swiftmailer.php file under config->packages in your project and add these lines.
Disable SSL verification on the server by using this option and make a try.
stream_options:
ssl:
verify_peer: false
verify_peer_name: false
allow_self_signed: true
After that, you will clear the cache of your project run the below command in your project root directory:
$ php bin/console c:c
Now you can reply to tickets and check swift mailer is working or not.
Useful link:
If the error is not an SSL certificate regarding so share your screenshot of the error.
I hope this solution works for you, if you have still the same problem let us know.
@Komal-sharma-2712
When i change the swiftmailer file i didn't able to load the shop page below error i have displayed
@Komal-sharma-2712 I swiftmailer which mail id i should add whether the customer mail id or admin mail id
This message only displaying
@Komal-sharma-2712 I swiftmailer which mail id i should add whether the customer mail id or admin mail id
In swiftmailer email id should be different from the customer and the admin email.
Share your screenshots of the swiftmailer.yaml file.
when we are creating the port forwarding in gmail where the confirmation mail will be shown whether the mail will be displayed as a ticket in uvdesk
when we create ticket from customer the ticket is displayed in uvdesk member page but the mail is not receiving for both the customer and the admin
Check once again with changes in the code for debug the error.
Locate the file vendor->uvdesk->core-framework->Services->EmailService.php.
Open the EmailService.php and reach to sendMail() function.
and add the below line as in the attached images:
$this->session->getFlashBag()->add('warning', $e->getMessage());
Once done then you just need to reply to the ticket accordingly the error will be reflected.
It will show the error you are facing while sending emails (if adding an agent, creating a ticket, etc) and share the screenshots of the error.
Check once again with changes in the code for debug the error.
Locate the file vendor->uvdesk->core-framework->Services->EmailService.php.
Open the EmailService.php and reach to sendMail() function.
and add the below line as in the attached images:
$this->session->getFlashBag()->add('warning', $e->getMessage());
Once done then you just need to reply to the ticket accordingly the error will be reflected.
It will show the error you are facing while sending emails (if adding an agent, creating a ticket, etc) and share the screenshots of the error.
When i changed the file different error is displaying
Now i have displayed this error now what i have to do for the swiftmailer error
Once done then you just need to reply to the ticket accordingly the error will be reflected. It will show the error you are facing while sending emails (if adding an agent, creating a ticket, etc) and share the screenshots of the error.
When i changed the file different error is displaying
Let us know, this is the same error on the admin dashboard. If the admin creates a ticket from the admin dashboard.
Yes This error is from admin dashboard when admin reply to the ticket this error is displaying
Both customer and admin receives the same error while sending mail
Hello @senthil-kms,
Could you please verify whether demo123@uvdesk.com is the customer email address in this case and not the email address you used to setup your mailer settings as you've shared in previous replies. It seems that the system is trying to deliver emails from demo123@uvdesk.com through the gmail smtp server, which obviously won't work. I would request you to please share the screenshot of your uvdesk_mailbox.yaml & swiftmailer.yaml configuration files to cross-verify these details. In order to avoid leaking any sensitive information, i would suggest you to either blur the sensitive content in your screenshots, or raise a support request by reaching out to us at https://support.uvdesk.com/en
this is the config file
this is config file
hello if there is any solution to solve this
@senthil-kms
Please create a ticket on our support dashboard from here with all screenshots files of the swift mailer, mailbox, and email settings. Also, share the server details of your project so that we will check the error.
@Komal-sharma-2712 I have created the ticket with this details
@senthil-kms
Please create a ticket on our support dashboard from here with all screenshots files of the swift mailer, mailbox, and email settings. Also, share the server details of your project so that we will check the error.
Hi there, Hope your issue will be resolved, if you are still facing the same issue then feel free to reopen this issue.
how to add our mail in UVDESK and access the mail function