Verify an email address - Error: authentication not enabled


#1

I have been following this example on how to verify an email address:

https://gentlenode.com/journal/meteor-20-verify-an-email-with-meteor-accounts/42

Basically I created a new Meteor project, and added the following packages:

email
accounts-password
accounts-ui

I then followed steps 2 to 4 to set-up the smtp configuration, meteor account configuration and send a verification email.

When creating a new account the user document is created in the database but the email verification is returning an error which I cannot find a solution to - but I am not not sure what it is trying to tell me. The only item I am unsure about in the smtp is the port number, the user name, password and server I have checked and rechecked over and over again.

When running in local host I get the following error.

I20150727-11:02:07.134(1)? Exception in setTimeout callback: AuthError: Invalid login - 503 5.5.1 Error: authentication not enabled
I20150727-11:02:07.134(1)? at Object.Future.wait (C:\Users\john\AppData\Local.meteor\packages\meteor-tool\1.1.3\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:398:15)
I20150727-11:02:07.134(1)? at smtpSend (packages/email/email.js:76:1)
I20150727-11:02:07.134(1)? at Object.Email.send (packages/email/email.js:153:1)
I20150727-11:02:07.134(1)? at Object.Accounts.sendVerificationEmail (packages/accounts-password/password_server.js:627:1)
I20150727-11:02:07.134(1)? at app\test2.js:56:18
I20150727-11:02:07.134(1)? at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
I20150727-11:02:07.134(1)? at packages/meteor/timers.js:6:1
I20150727-11:02:07.134(1)? at runWithEnvironment (packages/meteor/dynamics_nodejs.js:108:1)
I20150727-11:02:07.134(1)? - - - - -
I20150727-11:02:07.134(1)? at SMTPClient._actionAUTHComplete (C:\Users\john\AppData\Local.meteor\packages\email\1.0.6\npm\node_modules\simplesmtp\lib\client.js:826:23)
I20150727-11:02:07.134(1)? at SMTPClient._onData (C:\Users\john\AppData\Local.meteor\packages\email\1.0.6\npm\node_modules\simplesmtp\lib\client.js:329:29)
I20150727-11:02:07.134(1)? at Socket.emit (events.js:95:17)
I20150727-11:02:07.134(1)? at Socket. (stream_readable.js:765:14)
I20150727-11:02:07.134(1)? at Socket.emit (events.js:92:17)
I20150727-11:02:07.134(1)? at emitReadable
(_stream_readable.js:427:10)
I20150727-11:02:07.134(1)? at emitReadable (_stream_readable.js:423:5)
I20150727-11:02:07.134(1)? at readableAddChunk (_stream_readable.js:166:9)
I20150727-11:02:07.134(1)? at Socket.Readable.push (_stream_readable.js:128:10)
I20150727-11:02:07.134(1)? at TCP.onread (net.js:529:21)


#2

It is now working - found out that the email account I was using did not allow smtp sending of emails!