{"action":"created","issue":{"url":"https://api.github.com/repos/totaljs/helpdesk/issues/5","repository_url":"https://api.github.com/repos/totaljs/helpdesk","labels_url":"https://api.github.com/repos/totaljs/helpdesk/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/totaljs/helpdesk/issues/5/comments","events_url":"https://api.github.com/repos/totaljs/helpdesk/issues/5/events","html_url":"https://github.com/totaljs/helpdesk/issues/5","id":174263115,"number":5,"title":"problems sending emails","user":{"login":"changux","id":1302267,"avatar_url":"https://avatars.githubusercontent.com/u/1302267?v=3","gravatar_id":"","url":"https://api.github.com/users/changux","html_url":"https://github.com/changux","followers_url":"https://api.github.com/users/changux/followers","following_url":"https://api.github.com/users/changux/following{/other_user}","gists_url":"https://api.github.com/users/changux/gists{/gist_id}","starred_url":"https://api.github.com/users/changux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/changux/subscriptions","organizations_url":"https://api.github.com/users/changux/orgs","repos_url":"https://api.github.com/users/changux/repos","events_url":"https://api.github.com/users/changux/events{/privacy}","received_events_url":"https://api.github.com/users/changux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-31T12:42:42Z","updated_at":"2016-08-31T12:59:13Z","closed_at":null,"body":"Hi @petersirka.\r\n\r\nI have an instance running under Node.js v 6.3.0 and Total.js v 2.0.1.\r\nIn the debug console after a few moments having the service running, i see:\r\n\r\n`Error: E-mail address is not valid\r\n    at Message.from (/Users/JohnDoe/helpdesk-master/node_modules/total.js/mail.js:137:9)\r\n    at Framework.onMail (/Users/JohnDoe/helpdesk-master/node_modules/total.js/index.js:4007:10)\r\n    at Object.Controller.mail (/Users/JohnDoe/helpdesk-master/node_modules/total.js/index.js:11028:19)\r\n    at Framework.mail (/Users/JohnDoe/helpdesk-master/node_modules/total.js/index.js:7208:20)\r\n    at /Users/JohnDoe/helpdesk-master/models/users.js:226:18\r\n    at /Users/JohnDoe/helpdesk-master/node_modules/sqlagent/pg.js:1618:4\r\n    at Array.sqlagent (/Users/JohnDoe/helpdesk-master/node_modules/sqlagent/index.js:7:3)\r\n    at Immediate.setImmediate (/Users/JohnDoe/helpdesk-master/node_modules/sqlagent/index.js:19:27)\r\n    at runCallback (timers.js:566:20)\r\n    at tryOnImmediate (timers.js:546:5)\r\n======= 2016-08-31 07:32:35: Error: E-mail address is not valid Error: E-mail address is not valid\r\n    at Message.from (/Users/JohnDoe/helpdesk-master/node_modules/total.js/mail.js:137:9)\r\n    at Framework.onMail (/Users/JohnDoe/helpdesk-master/node_modules/total.js/index.js:4007:10)\r\n    at Object.Controller.mail (/Users/JohnDoe/helpdesk-master/node_modules/total.js/index.js:11028:19)\r\n    at Framework.mail (/Users/JohnDoe/helpdesk-master/node_modules/total.js/index.js:7208:20)\r\n    at /Users/JohnDoe/helpdesk-master/models/users.js:226:18\r\n    at /Users/JohnDoe/helpdesk-master/node_modules/sqlagent/pg.js:1618:4\r\n    at Array.sqlagent (/Users/JohnDoe/helpdesk-master/node_modules/sqlagent/index.js:7:3)\r\n    at Immediate.setImmediate (/Users/JohnDoe/helpdesk-master/node_modules/sqlagent/index.js:19:27)\r\n    at runCallback (timers.js:566:20)\r\n    at tryOnImmediate (timers.js:546:5)\r\nError: E-mail address is not valid\r\n    at Message.from (/Users/JohnDoe/helpdesk-master/node_modules/total.js/mail.js:137:9)\r\n    at Framework.onMail (/Users/JohnDoe/helpdesk-master/node_modules/total.js/index.js:4007:10)\r\n    at Object.Controller.mail (/Users/JohnDoe/helpdesk-master/node_modules/total.js/index.js:11028:19)\r\n    at Framework.mail (/Users/JohnDoe/helpdesk-master/node_modules/total.js/index.js:7208:20)\r\n    at /Users/JohnDoe/helpdesk-master/models/users.js:226:18\r\n    at /Users/JohnDoe/helpdesk-master/node_modules/sqlagent/pg.js:1618:4\r\n    at Array.sqlagent (/Users/JohnDoe/helpdesk-master/node_modules/sqlagent/index.js:7:3)\r\n    at Immediate.setImmediate (/Users/JohnDoe/helpdesk-master/node_modules/sqlagent/index.js:19:27)\r\n    at runCallback (timers.js:566:20)\r\n    at tryOnImmediate (timers.js:546:5)\r\n`\r\n\r\nIn config i have:\r\n\r\n`// Gmail SMTP settings\r\nmail.smtp                : smtp.gmail.com\r\nmail.smtp.options        : {\"port\":465,\"secure\":true,\"user\":\"user@gmail.com\",\"password\":\"VerySecretPass\",\"rejectUnauthorized\":true}\r\n`\r\n\r\nObviously, the system never send emails. Any idea?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/totaljs/helpdesk/issues/comments/243755642","html_url":"https://github.com/totaljs/helpdesk/issues/5#issuecomment-243755642","issue_url":"https://api.github.com/repos/totaljs/helpdesk/issues/5","id":243755642,"user":{"login":"changux","id":1302267,"avatar_url":"https://avatars.githubusercontent.com/u/1302267?v=3","gravatar_id":"","url":"https://api.github.com/users/changux","html_url":"https://github.com/changux","followers_url":"https://api.github.com/users/changux/followers","following_url":"https://api.github.com/users/changux/following{/other_user}","gists_url":"https://api.github.com/users/changux/gists{/gist_id}","starred_url":"https://api.github.com/users/changux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/changux/subscriptions","organizations_url":"https://api.github.com/users/changux/orgs","repos_url":"https://api.github.com/users/changux/repos","events_url":"https://api.github.com/users/changux/events{/privacy}","received_events_url":"https://api.github.com/users/changux/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T12:59:12Z","updated_at":"2016-08-31T12:59:12Z","body":"Yes. I am cleaning my config file to try again (looks like my text editor add some garbage)."}}
{"actor":{"display_login":"changux"}}