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.

    Email

    Scheduled Pinned Locked Moved Productivity
    92 Posts 36 Posters 133.4k Views 39 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.
    • justjim1220J Offline
      justjim1220 Module Developer @ime90
      last edited by

      @ime90

      Try changing the fade to false.

      Make sure your email address and password are case correct (uppercase and lowercase).

      Other than that, I don’t see an issue with the syntax.

      You did change the config.js.sample to config.js, correct?

      "Life's Too Short To Dance With Ugly People"
      Jim Hallock - 1995

      1 Reply Last reply Reply Quote 0
      • justjim1220J Offline
        justjim1220 Module Developer @ime90
        last edited by

        @ime90

        Also…

        I have found that some modules don’t work as well with the single quotes (’ ').

        Try changing them all to the double quotes (" ")

        "Life's Too Short To Dance With Ugly People"
        Jim Hallock - 1995

        I 1 Reply Last reply Reply Quote 0
        • I Offline
          ime90 @justjim1220
          last edited by

          @justjim1220

          Yeah, I changed it of course. I’ll try out the double quotation marks and all you recommended.

          Can you just tell me, does this module work for you at this time for Gmail or any other mail?

          justjim1220J 1 Reply Last reply Reply Quote 0
          • justjim1220J Offline
            justjim1220 Module Developer @ime90
            last edited by

            @ime90

            Yes, it works for me with my Gmail, my Hotmail, and my Yahoo mail. But I have since decided to link all three to my Gmail so I use just the one to receive all of them. But, I have tested it with all three and it does work.

            "Life's Too Short To Dance With Ugly People"
            Jim Hallock - 1995

            I 1 Reply Last reply Reply Quote 1
            • I Offline
              ime90 @justjim1220
              last edited by

              @justjim1220

              Tried it all but still getting “No new Mail” text. I dunno where I’m going wrong. Could you please copy your module text (or send me on private) so I can compare them. Also, did you do anything on your own gmail account that could help? I changed the imap settings.

              I get this error:

              
              Email notifier error:  { Error: Web login required: https://support.google.com/mail/answer/78754 (Failure)
                  at Connection._resTagged (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Connection.js:1502:11)
              
              
              at emitOne (events.js:96:13)
                  at Parser.emit (events.js:191:7)
                  at Parser._resTagged (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Parser.js:175:10)
                  at Parser._parse (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Parser.js:139:16)
                  at Parser._tryread (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Parser.js:82:15)
                  at TLSSocket.Parser._cbReadable (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Parser.js:53:12)
                  at emitNone (events.js:86:13)
                  at TLSSocket.emit (events.js:188:7) type: 'no', textCode: 'ALERT', source: 'authentication' }
              
              justjim1220J 1 Reply Last reply Reply Quote 0
              • justjim1220J Offline
                justjim1220 Module Developer @ime90
                last edited by

                @ime90

                Follow the link given in your error…

                https://support.google.com/mail/answer/78754

                Then follow the instructions to set your account to use less secure apps with your account…

                I’m pretty sure that I had to do that to get mine to work.

                There are other things to try as well.

                "Life's Too Short To Dance With Ugly People"
                Jim Hallock - 1995

                I 1 Reply Last reply Reply Quote 2
                • I Offline
                  ime90 @justjim1220
                  last edited by

                  @justjim1220

                  Yeah, I did.

                  Sorry for bugging you and thanks for the help. I dunno what the error is but it does seem to be connected to the mirrors inability to connect to the gmail servers. I’ll keep on trucking. If anybody has a clue what to do, I’m open for suggestions :D

                  justjim1220J 2 Replies Last reply Reply Quote 0
                  • justjim1220J Offline
                    justjim1220 Module Developer @ime90
                    last edited by

                    @ime90

                    Do you have your Gmail account set up with any 2-step verification?

                    If so, that would be a problem as well.

                    "Life's Too Short To Dance With Ugly People"
                    Jim Hallock - 1995

                    1 Reply Last reply Reply Quote 0
                    • justjim1220J Offline
                      justjim1220 Module Developer @ime90
                      last edited by

                      @ime90

                      Another thing to try is to rebuild the mirror…

                      npm rebuild

                      Another option is to make sure you have all the latest updates for everything… Computer OS, RasPi, The mirror, node, electron, etc.

                      After a full updating, reboot, rebuild. Try again.

                      I have found that most of the problems relating to ‘no new emails’ is because you have your email open on another device, so it appears to the mirror module that they have been read and nothing new is coming up for it to retrieve.

                      "Life's Too Short To Dance With Ugly People"
                      Jim Hallock - 1995

                      1 Reply Last reply Reply Quote 0
                      • L Offline
                        letshin
                        last edited by

                        Hi, would it be possible to modify the frequency at which the module checks for new emails please, so as to minimise processor load?

                        G 1 Reply Last reply Reply Quote 1
                        • S Offline
                          Seratio
                          last edited by

                          Hi Guys,

                          while creating the configuration for my magicmirror, i experienced that showing emails isn’t working, if fade is set to true… So i debugged this nearly two hours without any knowledge of javascript :D

                          The problem is, that the variable “count” isnt working as desired. Its not increasing. So i created a patch for your:

                          58d57
                          <         var e = 0;
                          125,127c124,126
                          <                       var steps = that.payload.slice(0, that.config.numberOfEmails).length - startingPoint;
                          <                       if (e >= startingPoint) {
                          <                             var currentStep = e - startingPoint;
                          ---
                          >                         var steps = that.payload.slice(0, that.config.numberOfEmails).length - startingPoint;
                          >                         if (count >= startingPoint) {
                          >                             var currentStep = count - startingPoint;
                          130d128
                          <                       e++;
                          

                          Hopefuly this will fix your problems with the fade option.

                          Regards
                          Alex

                          0_1532201964612_bugfix.PNG

                          1 Reply Last reply Reply Quote 0
                          • G Offline
                            gismo2006 @letshin
                            last edited by

                            @letshin said in Email:

                            Hi, would it be possible to modify the frequency at which the module checks for new emails please, so as to minimise processor load?

                            Good Morning, are they any news?

                            greets gismo2006a

                            1 Reply Last reply Reply Quote 0
                            • I Offline
                              icke
                              last edited by

                              Hello Guys , anyone knows a possibilty to get the subject not dimmed?
                              (customs.css)

                              Regards icke

                              1 Reply Last reply Reply Quote 0
                              • U Offline
                                UniqueUsername
                                last edited by

                                It’s just keeping me on “Loading”. WHY?

                                1 Reply Last reply Reply Quote 1

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                • 1
                                • 2
                                • 3
                                • 4
                                • 5
                                • 1 / 5
                                • 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