{"action":"created","issue":{"url":"https://api.github.com/repos/glpi-project/glpi/issues/774","repository_url":"https://api.github.com/repos/glpi-project/glpi","labels_url":"https://api.github.com/repos/glpi-project/glpi/issues/774/labels{/name}","comments_url":"https://api.github.com/repos/glpi-project/glpi/issues/774/comments","events_url":"https://api.github.com/repos/glpi-project/glpi/issues/774/events","html_url":"https://github.com/glpi-project/glpi/issues/774","id":163247299,"number":774,"title":"Email is not sent (using gmail)","user":{"login":"lcoria","id":19955232,"avatar_url":"https://avatars.githubusercontent.com/u/19955232?v=3","gravatar_id":"","url":"https://api.github.com/users/lcoria","html_url":"https://github.com/lcoria","followers_url":"https://api.github.com/users/lcoria/followers","following_url":"https://api.github.com/users/lcoria/following{/other_user}","gists_url":"https://api.github.com/users/lcoria/gists{/gist_id}","starred_url":"https://api.github.com/users/lcoria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcoria/subscriptions","organizations_url":"https://api.github.com/users/lcoria/orgs","repos_url":"https://api.github.com/users/lcoria/repos","events_url":"https://api.github.com/users/lcoria/events{/privacy}","received_events_url":"https://api.github.com/users/lcoria/received_events","type":"User","site_admin":false},"labels":[{"id":236900479,"url":"https://api.github.com/repos/glpi-project/glpi/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-06-30T19:23:50Z","updated_at":"2017-02-07T19:27:35Z","closed_at":null,"body":"Dears, \nI'm going crazy, because i configured in many ways the gmails SMTP in GLPI. but no email is sent when  create a incident or request. All emails stays in queue, but not sent automatically.\nI'm able to send them manually, but is not the right way.\n\n![image](https://cloud.githubusercontent.com/assets/19955232/16501196/9d059b30-3ede-11e6-9b6b-ca9e5c8f583d.png)\n\nin the queuedmail, I've tried all ways, but nothing. So far I let it as it:\n![image](https://cloud.githubusercontent.com/assets/19955232/16501241/d60758c4-3ede-11e6-970f-489640701d0e.png)\n\nIn Adminitration-->email Queue, i see that all messages are there:\n![image](https://cloud.githubusercontent.com/assets/19955232/16501314/43248e9a-3edf-11e6-9db7-43723ae077e8.png)\n\nmanually, works fine, and I see in my inbox, the emails. But the idea is that the user, will be able to create an incindent or request, and after pressing the SUBMIT button, receive a notification.\n\nI had open my IMAP in my gmail account. \ni've tried with the last version and also with version 0.8.5.5, but the email sending is not working.\n\nCan somebody help me with this to make it work and send automatically a notification email ?\nIs there some rule i'm forgetting? I'm using GLPI as it, just 1 user to create test ticktes, and the glpi users, to manage configuration.\n\nI didn't create any new element.\n\nThanks\n"},"comment":{"url":"https://api.github.com/repos/glpi-project/glpi/issues/comments/278113022","html_url":"https://github.com/glpi-project/glpi/issues/774#issuecomment-278113022","issue_url":"https://api.github.com/repos/glpi-project/glpi/issues/774","id":278113022,"user":{"login":"jcpinerosc","id":25618635,"avatar_url":"https://avatars.githubusercontent.com/u/25618635?v=3","gravatar_id":"","url":"https://api.github.com/users/jcpinerosc","html_url":"https://github.com/jcpinerosc","followers_url":"https://api.github.com/users/jcpinerosc/followers","following_url":"https://api.github.com/users/jcpinerosc/following{/other_user}","gists_url":"https://api.github.com/users/jcpinerosc/gists{/gist_id}","starred_url":"https://api.github.com/users/jcpinerosc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcpinerosc/subscriptions","organizations_url":"https://api.github.com/users/jcpinerosc/orgs","repos_url":"https://api.github.com/users/jcpinerosc/repos","events_url":"https://api.github.com/users/jcpinerosc/events{/privacy}","received_events_url":"https://api.github.com/users/jcpinerosc/received_events","type":"User","site_admin":false},"created_at":"2017-02-07T19:27:35Z","updated_at":"2017-02-07T19:27:35Z","body":"\r\nI had the same problem with 9.1.2 versión, after upgrade glpi 0.84 in a new server. The problem is due to PHP date.timezone variable in php.ini when it's not set. \r\n\r\nEmail notifications (and everything else), date creation and date estimated delivery were in UTC, but my server had UTC-5.\r\n\r\nThe cron delayed the actions by five hours. It is a stupid mistake, but it's posible, that it could be the root cause of the weird error reported by @Icoria.\r\n\r\nIs it posible to add a check for this variable in the installation process? Or to display a warning?\r\n"}}
{"actor":{"display_login":"jcpinerosc"}}