🔴 January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.

    UVdesk

    • Login
    • Search
    • Recent

    Solved Can't send emails (Gmail - Custom domain)

    Technical Help
    2
    3
    437
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      emirc last edited by

      Hello all,
      Glad to be here.

      I am trying to reply tickets but so far no success.
      I've tried our companies own domain settings and I thought I did something wrong.
      And then I tried gmail with my personal mail, but still no luck.
      Below in screenshot you can see my swiftmailer.yml
      uvdesk.PNG

      Thanks a lot!
      And also thanks for this amazing product.

      1 Reply Last reply Reply Quote 0
      • Sanjeev
        Sanjeev developer UVdesk Staff last edited by

        @emirc

        For Gmail Do below things first:
        Enable less secure app for gmail: https://myaccount.google.com/lesssecureapps

        Please enable this also: https://accounts.google.com/b/0/DisplayUnlockCaptcha

        1 Reply Last reply Reply Quote 0
        • Sanjeev
          Sanjeev developer UVdesk Staff last edited by

          @emirc

          Locate the file vendor->uvdesk->core-framework->Services->EmailService.php.

          Open the EmailService.php reach to sendMail() function.

          and dump() the exception as in attached images.

          dedafd32-9014-4572-a764-cbef712503de-image.png

          4fee59e9-8a59-4ad4-a20c-c54af323b192-image.png

          It will show the error you are facing while sending mails (if adding an agent, creating a ticket etc).

          Other helpful link:

          https://forums.uvdesk.com/topic/1870/how-to-debug-the-error

          1 Reply Last reply Reply Quote 0
          • First post
            Last post