• 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.

mail module problem

Scheduled Pinned Locked Moved Troubleshooting
13 Posts 4 Posters 3.7k 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.
  • M Online
    mumblebaj Module Developer @papinel
    last edited by mumblebaj Aug 11, 2019, 7:05 PM Aug 11, 2019, 7:05 PM

    @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

    P 1 Reply Last reply Aug 12, 2019, 10:06 AM Reply Quote 0
    • P Offline
      papinel @mumblebaj
      last edited by Aug 12, 2019, 10:06 AM

      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

      S M 2 Replies Last reply Aug 12, 2019, 5:57 PM Reply Quote 0
      • S Offline
        strawberry 3.141 Project Sponsor Module Developer @papinel
        last edited by Aug 12, 2019, 5:57 PM

        @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
        • M Online
          mumblebaj Module Developer @papinel
          last edited by Aug 13, 2019, 6:02 PM

          @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

          1 Reply Last reply Reply Quote 0
          • P Offline
            papinel
            last edited by Aug 18, 2019, 3:11 PM

            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 Aug 18, 2019, 4:22 PM Reply Quote 0
            • S Away
              sdetweil @papinel
              last edited by Aug 18, 2019, 4:22 PM

              @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 Aug 18, 2019, 5:34 PM

                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 Aug 18, 2019, 8:09 PM Reply Quote 0
                • S Away
                  sdetweil @papinel
                  last edited by sdetweil Aug 18, 2019, 8:10 PM Aug 18, 2019, 8:09 PM

                  @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 Aug 24, 2019, 9:25 AM Reply Quote 0
                  • P Offline
                    papinel @sdetweil
                    last edited by Aug 24, 2019, 9:25 AM

                    @sdetweil

                    S 1 Reply Last reply Aug 24, 2019, 12:33 PM Reply Quote 0
                    • S Away
                      sdetweil @papinel
                      last edited by Aug 24, 2019, 12:33 PM

                      @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
                      1 / 2
                      • First post
                        6/13
                        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