MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Problem with module email

    Troubleshooting
    2
    7
    3934
    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.
    • P
      psteimann last edited by

      Hi,
      When i activate the mail-module, magigmirror stops (seems to crash)
      config.js seems ok, otherwise magicmirror would not start.

      How can i resolve this problem?

      Mykle1 1 Reply Last reply Reply Quote 0
      • Mykle1
        Mykle1 Project Sponsor Module Developer @psteimann last edited by

        @psteimann

        https://forum.magicmirror.builders/topic/4751/how-to-ask-for-help-for-absolute-beginners

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • P
          psteimann last edited by

          ok…what Information is missing?

          1 Reply Last reply Reply Quote 0
          • P
            psteimann last edited by yawns

            Still trying hard…I deleted 1 account, and the module crashes not anymore.

            But now, I have 2 different results:

            -With the Apple-Account (map.mail.me.com) it says no mmails found what is definitely wrong.
            -With the Imap-Account of my provider, the module stays and loading…but nothing happens

            How can I debug to see whats wrong?

            {
            		module: 'email',
                            position: 'bottom_left',
                            header: 'Email',
                            config: {
                                accounts: [
                                    {
                                        user: 'xxxxxxxx',
                                        password: 'xxxxxxxxxr',
                                        host: 'dompop.vtx.ch',
                                        port: 993,
                                        tls: true,
                                        authTimeout: 10000,
                                        numberOfEmails: 2,
                                    }
                                ],
                                fade: true,
                                maxCharacters: 30
                            }
            		
            		}
             	]
            };
            
            Mykle1 1 Reply Last reply Reply Quote 0
            • Mykle1
              Mykle1 Project Sponsor Module Developer @psteimann last edited by

              @psteimann

              I don’t use this module but I did install it and attempt to get it to function. I used my gmail account as a test but I was unable to get it to work. It reports No New Emails. I sent myself 3 emails to that account. I checked that they were there, as well.

              {
              		module: 'email',
                              position: 'bottom_left',
                              header: 'Email',
                              config: {
                                  accounts: [
                                      {
                                          user: 'xxxxxxxxx@gmail.com',
                                          password: 'xxxxxxxx',
                                          host: 'imap.gmail.com',
                                          port: 993,
                                          tls: true,
                                          authTimeout: 10000,
                                          numberOfEmails: 5,
              
                                      }
                                      
                                  ],
                                  fade: true,
                                  maxCharacters: 30
                              }
              		},
              

              In my terminal I received an endless list of the same error.

              Email notifier error:  { Error: read ECONNRESET
                  at exports._errnoException (util.js:1022:11)
                  at TCP.onread (net.js:572:26)
                code: 'ECONNRESET',
                errno: 'ECONNRESET',
                syscall: 'read',
                source: 'socket' }
              Email notifier error:  { Error: read ECONNRESET
                  at exports._errnoException (util.js:1022:11)
                  at TCP.onread (net.js:572:26)
                code: 'ECONNRESET',
                errno: 'ECONNRESET',
                syscall: 'read',
                source: 'socket' }
              Email notifier error:  { Error: read ECONNRESET
                  at exports._errnoException (util.js:1022:11)
                  at TCP.onread (net.js:572:26)
                code: 'ECONNRESET',
                errno: 'ECONNRESET',
                syscall: 'read',
                source: 'socket' }
              
              Mykle@Mykle-Desktop MINGW32 ~/MagicMirror
              $
              

              My dev console reports no errors.

              Perhaps someone else will lend a hand here.

              Create a working config
              How to add modules

              P 1 Reply Last reply Reply Quote 0
              • P
                psteimann @Mykle1 last edited by

                @Mykle1 how do I get the results into my dev console? (beginner:-()

                But I got it now. As a username, try to use xxxx instead of xxx@xx.com, this worked for me with map

                trying to setup a second account with an apple-account did not work. I heard that they changed something about security and certificates, so the module may have to be checked for this issue.

                If you use 2 accounts and the second one is not reachable for any kind (wrong password etc), MM2 will stay and loading…and will not even show the mails from the first working account. btw: No constellation worked in my MM2 as soon as i used more than 1 account, but I do not whirled need it, just for information.

                Mykle1 1 Reply Last reply Reply Quote 0
                • Mykle1
                  Mykle1 Project Sponsor Module Developer @psteimann last edited by

                  @psteimann said in Problem with module email:

                  how do I get the results into my dev console? (beginner:-()

                  Open a new terminal. Enter cd MagicMirror. type npm start dev while in the MagicMirror dir. This will launch the mirror and open your dev tools. Click on console at the top to see all console messages

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy