Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter ioBroker.imap latest/stable

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    Test Adapter ioBroker.imap latest/stable

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      backfisch88 @Lucky_ESA last edited by

      @lucky_esa danke schon mal dafür

      host.iobroker
      2023-05-27 13:22:01.897	info	Restart adapter system.adapter.imap.0 because enabled
      host.iobroker
      2023-05-27 13:22:01.896	error	instance system.adapter.imap.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
      
      imap.0
      2023-05-27 13:22:01.319	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
      
      imap.0
      2023-05-27 13:22:01.318	info	terminating
      
      imap.0
      2023-05-27 13:22:01.316	error	Cannot read properties of undefined (reading 'fullcmd')
      
      imap.0
      2023-05-27 13:22:01.316	error	TypeError: Cannot read properties of undefined (reading 'fullcmd') at Connection._resUntagged (/opt/iobroker/node_modules/iobroker.imap/lib/Connection.js:1092:64) at Parser.<anonymous> (/opt/iobroker/node_modules/iobroker.imap/lib/Connection.js:190:18) at Parser.emit (node:events:513:28) at Parser._resUntagged (/opt/iobroker/node_modules/node-imap/lib/Parser.js:272:12) at Parser._parse (/opt/iobroker/node_modules/node-imap/lib/Parser.js:133:18) at Parser._tryread (/opt/iobroker/node_modules/node-imap/lib/Parser.js:77:17) at Parser._cbReadable (/opt/iobroker/node_modules/node-imap/lib/Parser.js:55:14) at TLSSocket.emit (node:events:513:28) at emitReadable_ (node:internal/streams/readable:590:12) at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
      
      imap.0
      2023-05-27 13:22:01.314	error	uncaught exception: Cannot read properties of undefined (reading 'fullcmd')
      

      immer noch das selbe... der komplette Adapter startet dann auch neu

      L 1 Reply Last reply Reply Quote 0
      • L
        Lucky_ESA Developer Most Active @backfisch88 last edited by

        @backfisch88

        immer noch das selbe... der komplette Adapter startet dann auch neu

        Oben war aber ein anderer Fehler. Habe diesen auch gerade gefixt.
        Komisch das da bei dir keine Daten kommen...Welchen Anbieter hast du?

        Gruß//Lucky

        B 1 Reply Last reply Reply Quote 0
        • B
          backfisch88 @Lucky_ESA last edited by

          @lucky_esa das ist ja der Witz. es kommen Daten und der Adapter stürzt komplett ab...

          ist icloud - also Apple

          L 1 Reply Last reply Reply Quote 0
          • L
            Lucky_ESA Developer Most Active @backfisch88 last edited by Lucky_ESA

            @backfisch88 sagte in Test Adapter ioBroker.imap v0.0.1 GitHub:

            @lucky_esa das ist ja der Witz. es kommen Daten und der Adapter stürzt komplett ab...

            ist icloud - also Apple

            Habe mich eventuell unglücklich ausgedrückt. Es kommen andere Daten als ich erwarte.
            Aber dieser Fehler sollte nun gefixt sein. Kommt sowieso raus wenn der Adapter in den nächsten Jahren in Stable gehen sollte.

            Wieder falsch ausgedrückt 🙂 Der Fehler ist eine Infoausgabe im Log wo aber keine Daten kommen. Dieses Info fliegt raus wenn ich in Stable gehe.

            Gruß//Lucky

            B 1 Reply Last reply Reply Quote 0
            • B
              backfisch88 @Lucky_ESA last edited by

              @lucky_esa

              host.iobroker
              2023-05-27 20:45:35.285	info	Restart adapter system.adapter.imap.0 because enabled
              host.iobroker
              2023-05-27 20:45:35.284	error	instance system.adapter.imap.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
              
              imap.0
              2023-05-27 20:45:34.709	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
              
              imap.0
              2023-05-27 20:45:34.708	info	terminating
              
              imap.0
              2023-05-27 20:45:34.706	error	Cannot read properties of undefined (reading 'fullcmd')
              
              imap.0
              2023-05-27 20:45:34.706	error	TypeError: Cannot read properties of undefined (reading 'fullcmd') at Connection._resUntagged (/opt/iobroker/node_modules/iobroker.imap/lib/Connection.js:1096:53) at Parser.<anonymous> (/opt/iobroker/node_modules/iobroker.imap/lib/Connection.js:190:18) at Parser.emit (node:events:513:28) at Parser._resUntagged (/opt/iobroker/node_modules/node-imap/lib/Parser.js:272:12) at Parser._parse (/opt/iobroker/node_modules/node-imap/lib/Parser.js:133:18) at Parser._tryread (/opt/iobroker/node_modules/node-imap/lib/Parser.js:77:17) at Parser._cbReadable (/opt/iobroker/node_modules/node-imap/lib/Parser.js:55:14) at TLSSocket.emit (node:events:513:28) at emitReadable_ (node:internal/streams/readable:590:12) at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
              
              imap.0
              2023-05-27 20:45:34.704	error	uncaught exception: Cannot read properties of undefined (reading 'fullcmd')
              

              das kommt jetzt mitm neusten aus github... also stürzt immer noch ab ^^
              trotzdem danke erst mal dafür, habe noch n ersatzscript übern mailparser, der aber etwas... naja nicht so gut ist 😄

              L 1 Reply Last reply Reply Quote 0
              • L
                Lucky_ESA Developer Most Active @backfisch88 last edited by

                @backfisch88

                das kommt jetzt mitm neusten aus github... also stürzt immer noch ab ^^
                trotzdem danke erst mal dafür, habe noch n ersatzscript übern mailparser, der aber etwas... naja nicht so gut ist 😄

                Wir werden es hinbekommen 🙂 Kannst in ca. 2 Minuten erneut laden...Warte bitte bis hier alles grün ist.
                https://github.com/Lucky-ESA/ioBroker.imap/actions

                Gruß//Lucky

                B 1 Reply Last reply Reply Quote 0
                • B
                  backfisch88 @Lucky_ESA last edited by

                  @lucky_esa alles alles? ^^
                  eben geupdated nichts 😕

                  host.iobroker
                  2023-05-27 21:10:21.581	info	Restart adapter system.adapter.imap.0 because enabled
                  host.iobroker
                  2023-05-27 21:10:21.581	error	instance system.adapter.imap.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                  
                  imap.0
                  2023-05-27 21:10:21.010	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                  
                  imap.0
                  2023-05-27 21:10:21.009	info	terminating
                  
                  imap.0
                  2023-05-27 21:10:21.007	error	Cannot read properties of undefined (reading 'fullcmd')
                  
                  imap.0
                  2023-05-27 21:10:21.007	error	TypeError: Cannot read properties of undefined (reading 'fullcmd') at Connection._resUntagged (/opt/iobroker/node_modules/iobroker.imap/lib/Connection.js:1096:30) at Parser.<anonymous> (/opt/iobroker/node_modules/iobroker.imap/lib/Connection.js:190:18) at Parser.emit (node:events:513:28) at Parser._resUntagged (/opt/iobroker/node_modules/node-imap/lib/Parser.js:272:12) at Parser._parse (/opt/iobroker/node_modules/node-imap/lib/Parser.js:133:18) at Parser._tryread (/opt/iobroker/node_modules/node-imap/lib/Parser.js:77:17) at Parser._cbReadable (/opt/iobroker/node_modules/node-imap/lib/Parser.js:55:14) at TLSSocket.emit (node:events:513:28) at emitReadable_ (node:internal/streams/readable:590:12) at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
                  
                  imap.0
                  2023-05-27 21:10:21.006	error	uncaught exception: Cannot read properties of undefined (reading 'fullcmd')
                  
                  L 1 Reply Last reply Reply Quote 0
                  • L
                    Lucky_ESA Developer Most Active @backfisch88 last edited by

                    @backfisch88 Habe diesen auch abgefangen. Bitte warte bis die 2 grün werden. Wahrscheinlich benötige ich mal ein komplettes Logfile. Der Fehler tritt auf wenn deine Mails gelesen werden.
                    Das Logfile kannst du dann an github@luckyskills.de senden.
                    Aber erst wenn dein Fehler weg ist....

                    Gruß//Lucky

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      backfisch88 @Lucky_ESA last edited by

                      @lucky_esa okay super 🙂 warte solang bis alles grün ist... dann kann ich dir n komplettes log (im debug??) schicken

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        Lucky_ESA Developer Most Active @backfisch88 last edited by

                        @backfisch88 sagte in Test Adapter ioBroker.imap v0.0.1 GitHub:

                        @lucky_esa okay super 🙂 warte solang bis alles grün ist... dann kann ich dir n komplettes log (im debug??) schicken

                        Ja, in debug Modus. Aber nicht so lange laufen lassen da dein Log sonst sehr groß wird. Kann mir das aber erst Montag anschauen. Daher hast du auch Zeit, muss nicht heute sein.

                        Gruß//Lucky

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          backfisch88 @Lucky_ESA last edited by

                          @lucky_esa perfekt vielen dank!

                          L 1 Reply Last reply Reply Quote 0
                          • L
                            Lucky_ESA Developer Most Active @backfisch88 last edited by

                            @backfisch88 sagte in Test Adapter ioBroker.imap v0.0.1 GitHub:

                            @lucky_esa perfekt vielen dank!

                            Super, wenn du Anhänge laden möchtest dann begrenze deine Abfrage auf eine Mail dessen Anhang du laden willst. Es kommt ein JSON mit dem Attribut "attachments" welchen du dann mit writeFile in den vis Folder speichern kannst. Verwende dazu die Forensuche nach writeFile oder ohne in die Datenbank zu schreiben fs.writeFile
                            var fs = require('fs');

                            Gruß//Lucky

                            B 1 Reply Last reply Reply Quote 1
                            • B
                              backfisch88 @Lucky_ESA last edited by

                              @lucky_esa

                              also es funktioniert jetzt... mit Ausnahme, dass es in die DP geschrieben wird^^

                              mit dem Attachment bekomme ich hin danke 🙂

                              bahnuhr 1 Reply Last reply Reply Quote 0
                              • bahnuhr
                                bahnuhr Forum Testing Most Active @backfisch88 last edited by

                                @backfisch88 sagte in Test Adapter ioBroker.imap v0.0.1 GitHub:

                                @lucky_esa

                                also es funktioniert jetzt... mit Ausnahme, dass es in die DP geschrieben wird^^

                                mit dem Attachment bekomme ich hin danke 🙂

                                Noch komme ich mit den Abfragen nicht so klar.
                                Was möchte ich:
                                Bei einer bestimmten Mail möchte ich den anhang speichern.
                                fs.writefile kann ich.

                                Nur wie mache ich eine solche Abfrage ?

                                L 1 Reply Last reply Reply Quote 0
                                • L
                                  Lucky_ESA Developer Most Active @bahnuhr last edited by Lucky_ESA

                                  @bahnuhr Leider hatte ich noch 2 Fehler. Bitte neu vom GIT laden. Sorry für die Umstände aber ich bekomme den Adapter nicht in latest da apollo77 keine Zeit hat.

                                  Versuche dann mal dieses Blockly zu importieren.

                                  anhang.txt


                                  anhang2.png
                                  anhang_1.png

                                  seqno ist bei einigen richtig wobei ich hier die uid nehmen musste.

                                  anhang_2.png

                                  Gruß//Lucky

                                  bahnuhr falke69 2 Replies Last reply Reply Quote 0
                                  • bahnuhr
                                    bahnuhr Forum Testing Most Active @Lucky_ESA last edited by

                                    @lucky_esa
                                    Import geht nicht !
                                    7ec1b7e6-6df6-4352-b2b2-4d169daa88fc-image.png

                                    L 1 Reply Last reply Reply Quote 0
                                    • L
                                      Lucky_ESA Developer Most Active @bahnuhr last edited by

                                      @bahnuhr Siehst du diese Blocklys? Habe es gerade getestet und es geht.
                                      imap_blockly.png

                                      bahnuhr 1 Reply Last reply Reply Quote 0
                                      • bahnuhr
                                        bahnuhr Forum Testing Most Active @Lucky_ESA last edited by bahnuhr

                                        @lucky_esa
                                        Nein, ich bekomme diese nicht importiert.
                                        Kannst du mir dies auf js geben?
                                        blockly ist nicht mein Ding.

                                        Danke.

                                        L 1 Reply Last reply Reply Quote 0
                                        • L
                                          Lucky_ESA Developer Most Active @bahnuhr last edited by

                                          @bahnuhr sagte in Test Adapter ioBroker.imap v0.0.1 GitHub:

                                          @lucky_esa
                                          Nein, ich bekomme diese nicht importiert.
                                          Kannst du mir dies auf js geben?
                                          blockly ist nicht mein Ding.

                                          Danke.

                                          Dann mal so...

                                          var i, result, j, json;
                                          
                                          
                                          sendTo("imap.0", "getIMAPRequest", {
                                            name: "github@luckyskills.de",
                                             max: 20,
                                             search: '["ALL"]',
                                             fetch:  JSON.parse('{"fetch": true, "seqno": [73]}'),
                                             bodie: '{bodies: "", markSeen: false}',
                                             parse: true,
                                          }, async function (result) {
                                              for (var i_index in result) {
                                              i = result[i_index];
                                              var j_list = getAttr(i, 'body.attachments');
                                              for (var j_index in j_list) {
                                                j = j_list[j_index];
                                                json = JSON.stringify(getAttr(j, 'content'));
                                                // Dein Anhang als Buffer
                                                console.log(getAttr(json, 'data'));
                                              }
                                            }
                                            });
                                          
                                          bahnuhr 1 Reply Last reply Reply Quote 0
                                          • bahnuhr
                                            bahnuhr Forum Testing Most Active @Lucky_ESA last edited by

                                            @lucky_esa
                                            ja, das ist was bekanntes.
                                            Ich probier es aus.
                                            Danke.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            554
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            26
                                            406
                                            56176
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo