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.

    mail module problem

    Scheduled Pinned Locked Moved Troubleshooting
    13 Posts 4 Posters 4.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.
    • mumblebajM Offline
      mumblebaj Module Developer @papinel
      last edited by mumblebaj

      @papinel Hi. Your config looks wrong. Can you try changing it to match the below?

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

      Check out my modules at: https://github.com/mumblebaj?tab=repositories
      Check my blog-post: https://mumblebaj.xyz/

      P 1 Reply Last reply Reply Quote 0
      • P Offline
        papinel @mumblebaj
        last edited by

        Hello sir
        could you tell me if I use the right orders? with the terminal
        cd ~ / MagicMirror / modules
        git clone https://github.com/ronny3050/email-mirror.git
        cd email
        npm install
        because when i install your answer in my config.js
        I have my black page with the error message
        please create config file
        if you this message is ready for your config file probaly contains an error
        this message only happens when I install
        in the config.js
        Thank you very much for your help
        papinel

        strawberry 3.141S mumblebajM 2 Replies Last reply Reply Quote 0
        • strawberry 3.141S Offline
          strawberry 3.141 Project Sponsor Module Developer @papinel
          last edited by

          @papinel you didnt install it properly, the instructions say git clone https://github.com/ronny3050/email-mirror.git email, either start from scratch or rename the directory email-mirror to email and install the dependencies again.

          Please create a github issue if you need help, so I can keep track

          1 Reply Last reply Reply Quote 0
          • mumblebajM Offline
            mumblebaj Module Developer @papinel
            last edited by

            @papinel I just installed the module and set it up and it works perfect with the setings that I gave you above. As @strawberry-3-141 mentioned, you may want to start from scratch with the module installation.

            • git clone https://github.com/ronny3050/email-mirror.git email

            • cd email

            • npm install

            Check out my modules at: https://github.com/mumblebaj?tab=repositories
            Check my blog-post: https://mumblebaj.xyz/

            1 Reply Last reply Reply Quote 0
            • P Offline
              papinel
              last edited by

              Hello,
              I’m sorry, but really sorry I still did not pay the email module for my magicmirror I did everything you told me
              first the 3 orders by the terminal

              git clone https://github.com/ronny3050/email-mirror.git email
              cd email
              npm install

              return by image

              pi @ raspberrypi: ~ $ git clone https://github.com/ronny3050/email-mirror.git emailCloning in ‘email’ …
              remote: Enumerating objects: 3, done.
              remote: Counting objects: 100% (3/3), done.
              remote: Compressing objects: 100% (3/3), done.
              remote: Total 63 (delta 0), reused 0 (delta 0), pack-reused 60
              Unpacking objects: 100% (63/63), done.
              pi @ raspberrypi: ~ $ cd email
              pi @ raspberrypi: ~ / email $ npm install
              (node: 2831) [DEP0022] DeprecationWarning: os.tmpDir () is deprecated. Use os.tmpdir () instead.
              npm WARN package.json email@0.0.1 No repository field.
              npm WARN package.json email@0.0.1 No license field.
              npm WARN deprecated mailparser@0.6.2: Mailparser versions older than v2.3.0 are deprecated
              npm WARN deprecated mimelib@0.3.1: This project is unmaintained
              underscore@1.9.1 node_modules / underscore

              debug@2.6.9 node_modules / debug
              └── ms@2.0.0

              imap@0.8.19 node_modules / imap
              ├── utf7@1.0.2 (semver@5.3.0)
              └── readable-stream@1.1.14 (string_decoder@0.10.31, isarray@0.0.1, inherits@2.0.4, core-util-is@1.0.2)

              mailparser@0.6.2 node_modules / mailparser
              ├── mime@1.6.0
              ├── mimelib@0.3.1 (addressparser@1.0.1)
              ├── uue@3.1.2 (escape-string-regexp@1.0.5, extend@3.0.2)
              └── encoding@0.1.12 (iconv-lite@0.4.24)
              pi @ raspberrypi: ~ / email $

              as indicate by
               mumblebaj

              then I copy in config.js

              {
              module: ‘email’,
              position: ‘top_left’,
              header: ‘Email’
              config: {
              accounts: [
              user: ‘xxxxx@gmail.com’,
              password: ‘xxxxx’,
                host: ‘imap.gmail.com’,
                port: 993,
                tls: true,
                authTimeout: 10000,
                numberOfEmails: 5,
              ]
                fade: true
                   }
              }

              as indicated by
              mumblebaj

              in my home / pi I have an email folder, but when I run pm2 start mm, I find my page that marks me errors, I really do not know or I make a mistake I am to the letter your advice

              I really do not know where I am making a mistake I am on the letter your advice
              I will stop bothering you with my problem, I will not use the clone mail
              I pass you all this through a .odt file
              thank you so much
              papinel

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @papinel
                last edited by

                @papinel ALWAYS git clone ONLY with the MagicMirror/modules folder as the current folder, u have them all over the place…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • P Offline
                  papinel
                  last edited by

                  Hello
                  thank you for your answer, but could develop a little more because I have trouble understanding to execute this module
                  thank you so much
                  papinel

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @papinel
                    last edited by sdetweil

                    @papinel when someone tells u to install a module on MagicMirror
                    you do

                    cd ~/MagicMirror
                    cd modules
                    git clone .....
                    cd ../config
                    nano config.js
                    ... add the config info for this module
                    ... save the updated config (ctrl-o to write, ctrl-x to exit nano)
                    cd ..
                    
                    either use pm2 to  start MagicMirror again or the installers/mm.sh
                    

                    in general, you should not need to change anything IN the module folder itself

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    P 1 Reply Last reply Reply Quote 0
                    • P Offline
                      papinel @sdetweil
                      last edited by

                      @sdetweil

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @papinel
                        last edited by

                        @papinel yes?

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • 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