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

    UVdesk

    • Login
    • Search
    • Recent

    Solved How to debug the error?

    Technical Help
    2
    4
    1371
    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.
    • B
      Brian B Peach last edited by

      emails are not working(not getting email notification to customer/agent/admin) after setting my all swiftmailer and email setting.

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

        @Brian-B-Peach

        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 image.

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

        07a7026d-6546-413d-8f77-9b11ce4ff58e-image.png

        bf8a8c9f-8020-4e40-9d34-55fced5853a2-image.png

        Thanks,

        1 Reply Last reply Reply Quote 1
        • B
          Brian B Peach last edited by

          @Sanjeev thanks for your quick response!!
          preg_split() expects parameter 2 to be string, array given - this is the exception I am getting after adding code to print exception while sending email

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

            @Brian-B-Peach

            Please add red mark lines in code as attached in below screenshot.

            headerCode.PNG

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