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.2k 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.
    • H Offline
      Hacksaw
      last edited by Hacksaw

              var name = mailObj.sender[0].name.replace(/['"]+/g,"");
              var subject = mailObj.subject.replace(/[\['"\]]+/g,"");    <----- **Here this line**
              var subject = subject.substring(0,30);  <----- **New Line**
      
      1 Reply Last reply Reply Quote 0
      • S Offline
        samydp
        last edited by

        perfekt it works !!
        but I’d love that is hidden, the email address and the mail before each a symbol appears is that possible?

        1 Reply Last reply Reply Quote 1
        • S Offline
          samydp
          last edited by

          hello, thank you to help me by the email module !!
          but I have a question
          you can insert a symbol in front of the email?

          so i have think tis symbol
          0_1475653582538_Unbenannt.JPG

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by

            said in Email:

            Link to module

            Just getting : Loading

            Any tips on resolving? Thx

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User
              last edited by

              Errors

              Email notifier error: { Error: read ECONNRESET
              at exports._errnoException (util.js:1026:11)
              at TCP.onread (net.js:564:26)
              code: ‘ECONNRESET’,
              errno: ‘ECONNRESET’,
              syscall: ‘read’,
              source: ‘socket’ }
              Email notifier error: { Error: read ECONNRESET
              at exports._errnoException (util.js:1026:11)
              at TCP.onread (net.js:564:26)
              code: ‘ECONNRESET’,
              errno: ‘ECONNRESET’,
              syscall: ‘read’,
              source: ‘socket’ }
              Email notifier error: { Error: read ECONNRESET
              at exports._errnoException (util.js:1026:11)
              at TCP.onread (net.js:564:26)
              code: ‘ECONNRESET’,
              errno: ‘ECONNRESET’,
              syscall: ‘read’,
              source: ‘socket’ }
              Email notifier error: { Error: read ECONNRESET
              at exports._errnoException (util.js:1026:11)
              at TCP.onread (net.js:564:26)
              code: ‘ECONNRESET’,
              errno: ‘ECONNRESET’,
              syscall: ‘read’,
              source: ‘socket’ }
              Email notifier error: { Error: read ECONNRESET
              at exports._errnoException (util.js:1026:11)
              at TCP.onread (net.js:564:26)
              code: ‘ECONNRESET’,
              errno: ‘ECONNRESET’,
              syscall: ‘read’,
              source: ‘socket’ }

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

                Hello ronny3050, the module is great, but after a while the module stands still. On my Mobilphone there are messages about new emails but your email Module does nothing. After a restart from the raspberry pi, everything is ok again, but after a few hours the same… Could you help me ?

                Thanks
                Yours Peter van Evert

                strawberry 3.141S 1 Reply Last reply Reply Quote 0
                • strawberry 3.141S Offline
                  strawberry 3.141 Project Sponsor Module Developer @Peter_van_Evert
                  last edited by

                  @Peter_van_Evert hes offline since two months, you probably have more success with open an issue on github

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

                  R 1 Reply Last reply Reply Quote 0
                  • R Offline
                    ronny3050 Module Developer @strawberry 3.141
                    last edited by

                    @strawberry-3.141 @Peter_van_Evert I apologize for not being able to get back to you sooner - been busy with grad school. :( I replied on the issue on github. Thanks! :)

                    1 Reply Last reply Reply Quote 1
                    • zman3Z Offline
                      zman3
                      last edited by

                      can anyone think of a reason the email is not updating to show new emails? i’m very new to this stuff, the temperature module is updating the temperature so its still connected.
                      thanks

                      P 1 Reply Last reply Reply Quote 0
                      • P Offline
                        Peter_van_Evert @zman3
                        last edited by

                        @zman3 I got the same problem and only one solution, till now. Press CTRL(STRG) and R to restart the magic mirror client. After that the emails are ok, till 2-3 hours… :)

                        R 1 Reply Last reply Reply Quote 0
                        • R Offline
                          ronny3050 Module Developer @Peter_van_Evert
                          last edited by

                          @Peter_van_Evert This is really strange. I have not faced this myself.
                          I think it is because your email client stops responding after 2-3 hours due to security reasons, perhaps :/

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            ronny3050 Module Developer @Guest
                            last edited by

                            @wjdw87 This usually happens due to two reasons:

                            1. Connection to your mail client is not possible - try the two-factor authentication mentioned before for using Gmail, or your credentials are wrong.
                            2. Try restarting mirror.
                            1 Reply Last reply Reply Quote 0
                            • E Offline
                              edsulst
                              last edited by

                              Is it possible to sroll the subject instead of putting a limit to the number of characters ?

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

                                Hi! is it possible to use it in emails requesting 2nd factor?

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  davidrq7
                                  last edited by davidrq7

                                  Hi guys can any 1 help me? Email module shows all the time no new emails, and the console looks like this: 0_1491837734246_17857461_1549238255109393_1377519403_n.jpg

                                  Edit: Solved. Just added “subjectlength: 50” at the end of script and works fine :)

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

                                    I refer to the possibility of a multiaccount module.
                                    I tried to make 2 directories email_a and email_b, uninstalled the module, customized the mail.js und installed it again.
                                    In the “global” config I added both modules into the array with their new names (email_a email_b) with all the other neccessary information like the auth…
                                    But when I start the mirror app, nothing happens. I see, that the helpers start, but no tries to fetch mails.
                                    And no errors.

                                    Any suggestions?

                                    1 Reply Last reply Reply Quote 0
                                    • A Offline
                                      apm1007 @ronny3050
                                      last edited by

                                      @ronny3050 i would like to display only unread emails. thank you.

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

                                        Hi,

                                        I use this modul for a long time. but now I have a little question,
                                        is it possible to set a intervall to check new emails?? Like every 10 Minutes for example.

                                        And if it isn´t possible can I easy put this option in any way?
                                        I have to say my coding experencie isn´t very good, so because there is a easy way. :-)

                                        greets gismo

                                        1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          ronny3050 Module Developer
                                          last edited by ronny3050

                                          Updated email module.

                                          Now supports:

                                          • Multiple email accounts
                                          • Will not crash on too many unread emails
                                          • Better fetching of recent and unread emails

                                          0_1497142258627_Screen Shot 2017-06-10 at 6.37.12 PM.png

                                          1 Reply Last reply Reply Quote 0
                                          • R Offline
                                            ronny3050 Module Developer @eugenelai
                                            last edited by

                                            @eugenelai @apm1007 @Gungnir83 Please update. :)

                                            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
                                            • 3
                                            • 4
                                            • 5
                                            • 3 / 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