Read the statement by Michael Teeuw here.
Problem with the Module "email"
-
@cyrus1337 press ctrl-shift-i (letter i)
To open the dev console, then select the console tab. Scroll to see if error on module.js side -
@sdetweil Sorry, but where do I have to execute the command.
Sorry, I’m really a beginner …
-
I hope this helps:
0|MagicMirror | Email notifier error: { Error: Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure) 0|MagicMirror | at Connection._resTagged (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Connection.js:1502:11) 0|MagicMirror | at Parser.<anonymous> (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Connection.js:194:10) 0|MagicMirror | at emitOne (events.js:116:13) 0|MagicMirror | at Parser.emit (events.js:211:7) 0|MagicMirror | at Parser._resTagged (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Parser.js:175:10) 0|MagicMirror | at Parser._parse (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Parser.js:139:16) 0|MagicMirror | at Parser._tryread (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Parser.js:82:15) 0|MagicMirror | at TLSSocket.Parser._cbReadable (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Parser.js:53:12) 0|MagicMirror | at emitNone (events.js:106:13) 0|MagicMirror | at TLSSocket.emit (events.js:208:7) type: 'no', textCode: 'ALERT', source: 'authentication' }
That does not stop and it always comes back to the mistake itself
-
@cyrus1337 I don’t know anything about this module, but I would guess that your email config is wrong.
The error means the module failed parsing the email data, because there was a connection or permissions error (tls implies ssl connection problem)
-
I have the config as described on the page https://github.com/ronny3050/email-mirror
{ module: 'email', position: 'top_left', header: 'Email', config: { accounts: [ { user: 'name@gmail.com', password: 'pw', host: 'imap.gmail.com', port: 993, tls: true, authTimeout: 10000, numberOfEmails: 5, } ], fade: true, maxCharacters: 30 } },
-
@cyrus1337 and password: ‘pw’ where pw is YOUR EMAIL password, right?
And name@gmail.com is YOUR Gmail username
-
@sdetweil said in Problem with the Module "email":
@cyrus1337 and password: ‘pw’ where pw is YOUR EMAIL password, right?
And name@gmail.com is YOUR Gmail usernameGenau, das ist das Passwort für den Emailaccount.
Bei user habe ich meine Emailadresse angegeben.
-
Did you set google security lower than the default. Something with allow third party apps?
-
@cirdan said in Problem with the Module "email":
Did you set google security lower than the default. Something with allow third party apps?
Yey, i have set
-
@cyrus1337 its an authentication problem. My best guess is an error in typing your userid or password. You can try it with username, without the @gmail.com part