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

    UVdesk

    • Login
    • Search
    • Recent
    1. Home
    2. amaridian
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    amaridian

    @amaridian

    0
    Reputation
    2
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    amaridian Unfollow Follow

    Latest posts made by amaridian

    • RE: An unexpected error fetching email

      @Komal-Sharma

      composer.lock: https://gist.github.com/CRudde/ccbdb58ecd10925f8de0c428c07b72ce
      log: https://gist.github.com/CRudde/e01753930758593fe6f4d4f92b3cbc8e

      I will send the IMAP credentials via pm.

      posted in Technical Help
      A
      amaridian
    • RE: An unexpected error fetching email

      @Komal-Sharma

      Hello, i have the same problem here with my fresh Installation of UVdesk.

      # Retrieving mailbox configuration details for abcdefg@thiebrinker-huette.de:
      
        - Establishing connection with mailbox
        - Fetching all emails since 20 March 2023
        - Found a total of 1 emails in mailbox since 20 March 2023
      
        # Processing all found emails iteratively:
      
          API https://mail.thiebrinker-huette.de/mailbox/listener
      
          - Processing email 1 of 1:
        An unexpected error occurred: Warning: Trying to access array offset on value of type null
      

      I tracked the error down to line 409 in MailboxService.php:

      $thread = $this->container->get('ticket.service')->createTicket($mailData);
      

      the content of $mailData is

      Array
      (
          [replyTo] => Array
              (
                  [0] => 
              )
      
          [messageId] => <AM4PR0301MB214884248D3E3480033A495290819@AM4PR0301MB2148.eurprd03.prod.outlook.com>
          [inReplyTo] => 
          [referenceIds] => <AM4PR0301MB214884248D3E3480033A495290819@AM4PR0301MB2148.eurprd03.prod.outlook.com>
          [cc] => Array
              (
              )
      
          [bcc] => Array
              (
              )
      
          [source] => email
          [createdBy] => customer
          [role] => ROLE_CUSTOMER
          [from] => blablabla@blmedia.de
          [name] => My Name
          [subject] => Test
          [message] => 
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
      <meta name="Generator" content="Microsoft Word 15 (filtered medium)">
      <style><!--
      /* Font Definitions */
      @font-face
      	{font-family:"Cambria Math";
      	panose-1:2 4 5 3 5 4 6 3 2 4;}
      @font-face
      	{font-family:DengXian;
      	panose-1:2 1 6 0 3 1 1 1 1 1;}
      @font-face
      	{font-family:Calibri;
      	panose-1:2 15 5 2 2 2 4 3 2 4;}
      @font-face
      	{font-family:"\@DengXian";
      	panose-1:2 1 6 0 3 1 1 1 1 1;}
      /* Style Definitions */
      p.MsoNormal, li.MsoNormal, div.MsoNormal
      	{margin:0cm;
      	font-size:11.0pt;
      	font-family:"Calibri",sans-serif;}
      span.E-MailFormatvorlage17
      	{mso-style-type:personal-compose;
      	font-family:"Calibri",sans-serif;
      	color:windowtext;}
      .MsoChpDefault
      	{mso-style-type:export-only;
      	font-family:"Calibri",sans-serif;}
      @page WordSection1
      	{size:612.0pt 792.0pt;
      	margin:70.85pt 70.85pt 2.0cm 70.85pt;}
      div.WordSection1
      	{page:WordSection1;}
      --></style>
      </head>
      <body lang="DE" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
      <div class="WordSection1">
      <p class="MsoNormal">test<p></p></p>
      <p class="MsoNormal"><p> </p></p>
      <div>
      <p class="MsoNormal" style="background:white"><span style='font-size:14.0pt;font-family:"Arial",sans-serif;color:#4B4B4D'>BL</span><span style='font-size:14.0pt;font-family:"Arial",sans-serif;color:#319CD1'>MEDiA </span><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:#4B4B4D'>GmbH<br>
      Von-Braun-Str. 49<br>
      D-48683 Ahaus</span><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:#212121'><p></p></span></p>
      <p class="MsoNormal" style="background:white"><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:#4B4B4D'>Telefon: <a href="tel:+4925616070200" title="tel:+4925616070200"><span style="color:#0078D4">+49 2561 60702-00</span></a>  <br>
      Fax: <a href="tel:+4925616070299" title="tel:+4925616070299"><span style="color:#0078D4">+49 2561 60702-99</span></a></span><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:#212121'><p></p></span></p>
      <p class="MsoNormal" style="background:white"><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:#4B4B4D'>E-Mail: </span><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:black'><a href="mailto:projekte@blmedia.de" title="mailto:projekte@blmedia.de"><span style="color:#0563C1">projekte@blmedia.de</span></a></span><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:#4B4B4D'><br>
      Internet: </span><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:black'><a href="http://www.blmedia.de/" title="http://www.blmedia.de/"><span style="color:#0563C1">www.blmedia.de</span></a></span><span style='font-family:"Arial",sans-serif;color:#212121'><p></p></span></p>
      </div>
      <p class="MsoNormal"><span style='font-size:7.5pt;font-family:"Arial",sans-serif;color:#4B4B4D'><br>
      Vertretungsberechtigte Geschäftsführer:<br>
      </span><p></p></p>
      </div>
      </body>
      
          [attachments] => Array
              (
              )
      
          [threadType] => create
      )
      

      Obviously there is an error in the createTicket method, it returns NULL instead of a $thread reference.

      posted in Technical Help
      A
      amaridian