Read the statement by Michael Teeuw here.
Problem with module email
-
Hi,
When i activate the mail-module, magigmirror stops (seems to crash)
config.js seems ok, otherwise magicmirror would not start.How can i resolve this problem?
-
-
ok…what Information is missing?
-
Still trying hard…I deleted 1 account, and the module crashes not anymore.
But now, I have 2 different results:
-With the Apple-Account (map.mail.me.com) it says no mmails found what is definitely wrong.
-With the Imap-Account of my provider, the module stays and loading…but nothing happensHow can I debug to see whats wrong?
{ module: 'email', position: 'bottom_left', header: 'Email', config: { accounts: [ { user: 'xxxxxxxx', password: 'xxxxxxxxxr', host: 'dompop.vtx.ch', port: 993, tls: true, authTimeout: 10000, numberOfEmails: 2, } ], fade: true, maxCharacters: 30 } } ] };
-
I don’t use this module but I did install it and attempt to get it to function. I used my gmail account as a test but I was unable to get it to work. It reports No New Emails. I sent myself 3 emails to that account. I checked that they were there, as well.
{ module: 'email', position: 'bottom_left', header: 'Email', config: { accounts: [ { user: 'xxxxxxxxx@gmail.com', password: 'xxxxxxxx', host: 'imap.gmail.com', port: 993, tls: true, authTimeout: 10000, numberOfEmails: 5, } ], fade: true, maxCharacters: 30 } },
In my terminal I received an endless list of the same error.
Email notifier error: { Error: read ECONNRESET at exports._errnoException (util.js:1022:11) at TCP.onread (net.js:572:26) code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read', source: 'socket' } Email notifier error: { Error: read ECONNRESET at exports._errnoException (util.js:1022:11) at TCP.onread (net.js:572:26) code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read', source: 'socket' } Email notifier error: { Error: read ECONNRESET at exports._errnoException (util.js:1022:11) at TCP.onread (net.js:572:26) code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read', source: 'socket' } Mykle@Mykle-Desktop MINGW32 ~/MagicMirror $
My dev console reports no errors.
Perhaps someone else will lend a hand here.
-
@Mykle1 how do I get the results into my dev console? (beginner:-()
But I got it now. As a username, try to use xxxx instead of xxx@xx.com, this worked for me with map
trying to setup a second account with an apple-account did not work. I heard that they changed something about security and certificates, so the module may have to be checked for this issue.
If you use 2 accounts and the second one is not reachable for any kind (wrong password etc), MM2 will stay and loading…and will not even show the mails from the first working account. btw: No constellation worked in my MM2 as soon as i used more than 1 account, but I do not whirled need it, just for information.
-
@psteimann said in Problem with module email:
how do I get the results into my dev console? (beginner:-()
Open a new terminal. Enter cd MagicMirror. type
npm start dev
while in the MagicMirror dir. This will launch the mirror and open your dev tools. Click on console at the top to see all console messages