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.

    MMM-Mail

    Scheduled Pinned Locked Moved Productivity
    emailimap
    22 Posts 9 Posters 25.9k Views 11 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.
    • PiepsP Offline
      Pieps
      last edited by paviro

      Hey Guys,

      I’m the new one…

      I’m a complete noob in web-programming like javascript, mode.js and so on…
      So far the most of my programming skills are in bare-metal µC Programming by C or ASM.

      So, now I’m building on of these fantastic mirrors and Wanted to get my mails displayed…

      Therefore I builded an module and now I’m hoping that someone other will us it too.

      [card:MMPieps/MMM-Mail]

      The module creates an IMAP-Connection to a Mail Account and displays the Mails to the mirror additionally it gives a notification on new mail receive.

      0_1475095024015_screenshot.PNG

      Please tell me if there is anything wrong with my code, repository or with me ;-)

      Have Fun

      C 1 Reply Last reply Reply Quote 0
      • paviroP Offline
        paviro
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • PiepsP Offline
          Pieps
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • cowboysdudeC Offline
            cowboysdude Module Developer
            last edited by

            How often does it check the mail? I’ve sent a test email to my account and so far it says I have no unread mail…

            1 Reply Last reply Reply Quote 0
            • cowboysdudeC Offline
              cowboysdude Module Developer
              last edited by

              Even with lowered app security on google, it’s not working.

              PiepsP T 2 Replies Last reply Reply Quote 0
              • PiepsP Offline
                Pieps @cowboysdude
                last edited by

                @cowboysdude
                The module don’t poll the server. It receives events (like push notifications) from the imap server.
                On my mirror, the module works with Gmail. …
                Currently im in vacation, so I can’t really help you until Tuesday.

                1 Reply Last reply Reply Quote 0
                • T Offline
                  travisbarket @cowboysdude
                  last edited by

                  @cowboysdude Hey , Cowboydude , there is config.js is pass: ‘yourpassword’ , not a password: ‘yourpassword’ , i think sample is wrong …

                  PiepsP 1 Reply Last reply Reply Quote 2
                  • PiepsP Offline
                    Pieps @travisbarket
                    last edited by

                    @travisbarket damn, your right. That’s a stupic copy paste failure… the right key is pass

                    1 Reply Last reply Reply Quote 0
                    • cowboysdudeC Offline
                      cowboysdude Module Developer
                      last edited by

                      Thank you @travisbarket I’ll get around to trying it again soon LOL

                      1 Reply Last reply Reply Quote 0
                      • cowboysdudeC Offline
                        cowboysdude Module Developer
                        last edited by

                        Deleted it and started over and BAM working! Thank you all!

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          carteblanche @Pieps
                          last edited by

                          @Pieps Great work on the module! I’ve tried it and it works great.

                          Really love the New Mail alert feature, however for me the sender name is coming up as “undefined”. Any suggestions?

                          Another thought on spam…I get a lot of spam mail and since the module picks up mail from the server before it passes through my client-side spam filter its sending a lot of those unwanted spam messages into my mirror. It would be cool if the module could somehow filter the messages that get displayed. Do you think something like that is feasible?

                          AbuitimeA 1 Reply Last reply Reply Quote 0
                          • AbuitimeA Offline
                            Abuitime @carteblanche
                            last edited by

                            @carteblanche One suggestion on spam. I had the same problem and so I had all my filtered emails(those not spam) forwarded to an external email account. I then setup the module with the external email account.

                            Just a suggestion :)

                            C 1 Reply Last reply Reply Quote 0
                            • C Offline
                              carteblanche @Abuitime
                              last edited by

                              @Abuitime Thanks for the suggestion! However I’m wondering how did you set up the forwarder to only forward the filtered mail? The way my forwarder works is it picks up mail from the server side so again it gets forwarded prior to it being filtered by my spam filter.

                              1 Reply Last reply Reply Quote 0
                              • PiepsP Offline
                                Pieps
                                last edited by

                                hi @carteblanche,

                                I will take a look to the undefined name problem. I have an Idea to solve it ;-)

                                In terms of the spam problem, I think the best solution is to use a server-side spam filter or the solution by @carteblanche . Another possible solution would be to copy the non spam mails to another imap folder. As soon as I come to, I will add the IMAP-Folder to the module-config.

                                C 1 Reply Last reply Reply Quote 0
                                • C Offline
                                  carteblanche @Pieps
                                  last edited by

                                  @Pieps Sounds Good, Thanks!!

                                  1 Reply Last reply Reply Quote 0
                                  • PiepsP Offline
                                    Pieps
                                    last edited by

                                    So … I think that I’ve solved the Problem.
                                    @carteblanche: could you try it please. To update the module use git pull in the MMM-Mail folder.
                                    Please give me a feedback if the notifications come with the right name.

                                    C 2 Replies Last reply Reply Quote 0
                                    • C Offline
                                      carteblanche @Pieps
                                      last edited by

                                      @Pieps Thanks for making a quick fix! Once github is back online I will definitely do the pull and let you know the result.

                                      1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        carteblanche @Pieps
                                        last edited by

                                        @Pieps perfect that fixed the issue. Now the notifications come in with the right name. Thanks again for the quick solution!

                                        1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          chrisvanlaar
                                          last edited by

                                          I can see that it contact the mailserver. It found 3 new mails (that’s correct) but in the mirrorscreen it didn’t load this new mail. It says continue loading but nothing happend further.
                                          What’s going wrong?

                                          Chris

                                          1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            MagicMirrorPi
                                            last edited by

                                            I have the same problem. In the terminal i can see the following:

                                            “MMM-Mail-Helper: Mailbox Closed: INBOX
                                            Mail-Seach complete
                                            3 Mails fetched”

                                            But the Mirror didn’t display emails. He say “No unread emails”. Anyone an idea? I connect with an outlook.com Account.

                                            1 Reply Last reply Reply Quote 0

                                            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
                                            • 1 / 2
                                            • 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