MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Problem with module email

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 2 Posters 4.9k Views 2 Watching
    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.
    • Mykle1M Offline
      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 Offline
        psteimann
        last edited by

        ok…what Information is missing?

        1 Reply Last reply Reply Quote 0
        • P Offline
          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
                          }
          		
          		}
           	]
          };
          
          Mykle1M 1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            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 Offline
              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.

              Mykle1M 1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                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 Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy