Email Verification Error

I have an application running on heroku, when I create a new account, the verification email is not sent. But in localhost works perfectly, how do I know which error that is happening? Thanks in advance.

I found the logs on Heroku:

2016-02-02T20:04:14.746514+00:00 app[web.1]: Exception while invoking method ‘createUser’ AuthError: Invalid login - 535 5.0.0 Authentication Failed
2016-02-02T20:04:14.746517+00:00 app[web.1]: at Object.Future.wait (/app/.meteor/heroku_build/app/programs/server/node_modules/fibers/future.js:398:15)
2016-02-02T20:04:14.746520+00:00 app[web.1]: at Object.Email.send (packages/email/email.js:185:1)
2016-02-02T20:04:14.746521+00:00 app[web.1]: at AccountsServer.Accounts.sendVerificationEmail (password_server.js:781:9)
2016-02-02T20:04:14.746523+00:00 app[web.1]: at AccountsServer.Ap._loginMethod (accounts_server.js:372:5)
2016-02-02T20:04:14.746524+00:00 app[web.1]: at [object Object].Meteor.methods.createUser (password_server.js:997:19)
2016-02-02T20:04:14.746526+00:00 app[web.1]: - - - - -
2016-02-02T20:04:14.746529+00:00 app[web.1]: at SMTPClient._actionAUTHComplete (/app/.meteor/heroku_build/app/programs/server/npm/email/node_modules/simplesmtp/lib/client.js:826:23)
2016-02-02T20:04:14.746535+00:00 app[web.1]: at process._tickCallback (node.js:448:13)

It is saying you haven’t setup any accounts to send emails from, or you haven’t set them in Meteor.

There ya go. It’s related to your SMTP auth settings. How are you connecting locally? If you’re using ENV variables, make sure they’re set on Heroku’s side.

I solved by using the heroku emails add-on (mailgun). Heruko says that they don’t email using stmp protocol.

Thanks guys