• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 the Module "email"

Scheduled Pinned Locked Moved Unsolved Troubleshooting
57 Posts 4 Posters 24.0k Views 4 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.
  • C Offline
    cirdan @CyruS1337
    last edited by cirdan Nov 6, 2018, 7:36 PM Nov 6, 2018, 7:36 PM

    @cyrus1337 its an authentication problem. My best guess is an error in typing your userid or password. You can try it with username, without the @gmail.com part

    Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

    C 1 Reply Last reply Nov 7, 2018, 7:27 AM Reply Quote 0
    • C Offline
      CyruS1337 Project Sponsor @cirdan
      last edited by Nov 7, 2018, 7:27 AM

      @cirdan Ok, you mean I should just enter the name: Adriano B …

      0_1541575636296_2018-11-07_08-20-48.png

      C 1 Reply Last reply Nov 7, 2018, 8:30 PM Reply Quote 0
      • C Offline
        cirdan @CyruS1337
        last edited by Nov 7, 2018, 8:30 PM

        @cyrus1337 what I mean is e.g. your email is namexxx@gmail.com that you use namexxx as an username in the config. I remember playing with that when getting to module to work

        Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

        C 1 Reply Last reply Nov 8, 2018, 5:20 AM Reply Quote 0
        • C Offline
          CyruS1337 Project Sponsor @cirdan
          last edited by CyruS1337 Nov 8, 2018, 5:56 PM Nov 8, 2018, 5:20 AM

          @cirdan I did that. My username in config is adriano.b .....@gmail.com or am I mistaken you?

          {
          		        module: 'email',
                          position: 'top_left',
                          header: 'Email',
                          config: {
                              accounts: [
          
                                  {
                                      user: '...@gmail.com',
                                      password: '...',
                                      host: 'imap.gmail.com',
          			    port: 993,
                                      tls: true,
                                      authTimeout: 10000,
                                      numberOfEmails: 5,
                                  }
                              ],
                              fade: true,
                              maxCharacters: 30
                          }
          	},
          
          1 Reply Last reply Reply Quote 0
          • S Away
            sdetweil
            last edited by sdetweil Nov 8, 2018, 6:01 PM Nov 8, 2018, 1:55 PM

            usually when we show our config.js with personal stuff removed, we use … or xxx instead of the default ‘name’ and ‘pw’.

            this lets others looking at your issue know you have changed the content

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            C 1 Reply Last reply Nov 8, 2018, 5:57 PM Reply Quote 0
            • C Offline
              CyruS1337 Project Sponsor @sdetweil
              last edited by CyruS1337 Nov 8, 2018, 5:57 PM Nov 8, 2018, 5:57 PM

              @sdetweil
              ok, i changed it. Thanks for the information

              S 1 Reply Last reply Nov 8, 2018, 6:00 PM Reply Quote 1
              • S Away
                sdetweil @CyruS1337
                last edited by Nov 8, 2018, 6:00 PM

                @cyrus1337 thank you…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • C Offline
                  CyruS1337 Project Sponsor
                  last edited by Nov 8, 2018, 6:01 PM

                  But I have not come further. Is there something wrong with my config?

                  S 1 Reply Last reply Nov 8, 2018, 6:32 PM Reply Quote 0
                  • S Away
                    sdetweil @CyruS1337
                    last edited by sdetweil Nov 8, 2018, 7:18 PM Nov 8, 2018, 6:32 PM

                    @cyrus1337 ok, I cut/pasted your config, changed to my userid and password…

                    failed… module imap not found…

                    had to run npm install from the modules/email folder…

                    restart mirror…

                    note: this only shows NEWLY arriving email… i don’t know how the mail drops off, as it hasn’t updated for me… 5 emails shown…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    C 1 Reply Last reply Nov 8, 2018, 7:06 PM Reply Quote 0
                    • C Offline
                      CyruS1337 Project Sponsor @sdetweil
                      last edited by Nov 8, 2018, 7:06 PM

                      @sdetweil I did that you’ve got. Unfortunately without success

                      pi@raspberrypi2:~ $ cd MagicMirror
                      pi@raspberrypi2:~/MagicMirror $ cd modules
                      pi@raspberrypi2:~/MagicMirror/modules $ cd email
                      pi@raspberrypi2:~/MagicMirror/modules/email $ npm install
                      npm WARN email@0.0.1 No repository field.
                      npm WARN email@0.0.1 No license field.
                      
                      audited 24 packages in 4.491s
                      found 0 vulnerabilities
                      
                      pi@raspberrypi2:~/MagicMirror/modules/email $ sudo reboot
                      login as: pi
                      pi@192.168.1.102's password:
                      Linux raspberrypi2 4.14.67-v7+ #1139 SMP Wed Aug 29 15:17:05 BST 2018 armv7l
                      
                      The programs included with the Debian GNU/Linux system are free software;
                      the exact distribution terms for each program are described in the
                      individual files in /usr/share/doc/*/copyright.
                      
                      Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                      permitted by applicable law.
                      Last login: Thu Nov  8 20:03:08 2018 from 192.168.1.134
                      pi@raspberrypi2:~ $
                      
                      
                      S 1 Reply Last reply Nov 8, 2018, 7:09 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 2 / 6
                      2 / 6
                      • First post
                        11/57
                        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