{"action":"created","issue":{"url":"https://api.github.com/repos/back2arie/Kalkun/issues/171","repository_url":"https://api.github.com/repos/back2arie/Kalkun","labels_url":"https://api.github.com/repos/back2arie/Kalkun/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/back2arie/Kalkun/issues/171/comments","events_url":"https://api.github.com/repos/back2arie/Kalkun/issues/171/events","html_url":"https://github.com/back2arie/Kalkun/issues/171","id":150524878,"number":171,"title":"kalkun sms to email plugin  setup","user":{"login":"rajbps","id":8349797,"avatar_url":"https://avatars.githubusercontent.com/u/8349797?v=3","gravatar_id":"","url":"https://api.github.com/users/rajbps","html_url":"https://github.com/rajbps","followers_url":"https://api.github.com/users/rajbps/followers","following_url":"https://api.github.com/users/rajbps/following{/other_user}","gists_url":"https://api.github.com/users/rajbps/gists{/gist_id}","starred_url":"https://api.github.com/users/rajbps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajbps/subscriptions","organizations_url":"https://api.github.com/users/rajbps/orgs","repos_url":"https://api.github.com/users/rajbps/repos","events_url":"https://api.github.com/users/rajbps/events{/privacy}","received_events_url":"https://api.github.com/users/rajbps/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-23T06:56:51Z","updated_at":"2016-05-05T23:50:37Z","closed_at":null,"body":"Hiya,\r\n\r\nHow do you configure the sms to email plugin please?\r\n\r\nAlso is it possible that once configures if user A sends in an sms when its forwarded to the email, it creates a subject line as phonenumber@domain.com\r\n\r\nI am trying to get this to go to otrs which is a ticketing system for IT.\r\n\r\nI can set up filters in otrs to filter what emails comes in and goes to specific customer queue and such a subject line will allow me to filter that.\r\n\r\nRegards,\r\n\r\nRaj\r\n"},"comment":{"url":"https://api.github.com/repos/back2arie/Kalkun/issues/comments/217312354","html_url":"https://github.com/back2arie/Kalkun/issues/171#issuecomment-217312354","issue_url":"https://api.github.com/repos/back2arie/Kalkun/issues/171","id":217312354,"user":{"login":"rajbps","id":8349797,"avatar_url":"https://avatars.githubusercontent.com/u/8349797?v=3","gravatar_id":"","url":"https://api.github.com/users/rajbps","html_url":"https://github.com/rajbps","followers_url":"https://api.github.com/users/rajbps/followers","following_url":"https://api.github.com/users/rajbps/following{/other_user}","gists_url":"https://api.github.com/users/rajbps/gists{/gist_id}","starred_url":"https://api.github.com/users/rajbps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajbps/subscriptions","organizations_url":"https://api.github.com/users/rajbps/orgs","repos_url":"https://api.github.com/users/rajbps/repos","events_url":"https://api.github.com/users/rajbps/events{/privacy}","received_events_url":"https://api.github.com/users/rajbps/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T23:50:37Z","updated_at":"2016-05-05T23:50:37Z","body":"Ok managed to recover the server from an older backup and i can now send and recieve sms again.\r\nI installed the sms to email plugin with the following config :\r\n\r\n\tfunction sms_to_email_initialize()\r\n{\r\n\t$config['protocol'] = 'smtp';\r\n\t$config['smtp_host'] = \"mail.domain.com\";\r\n\t$config['smtp_port'] = \"25\";\r\n\t$config['smtp_user'] = \"support@domain.com\";\r\n\t$config['smtp_pass'] = \"the password\";\r\n\t$config['charset'] = 'utf-8';\r\n\t$config['wordwrap'] = TRUE;\r\n\t$config['mail_from'] = 'support@domain.com';\r\n\t$config['mail_subject'] = 'Kalkun New SMS';\r\n\treturn $config;\r\n\r\nThe email server is an exchange 2013 box.\r\n\r\ni can find any logs to see what is actually happening jsu never gets the emails .\r\n\r\nI have change the following file index.php to be as :+1: \r\n\r\n| For more info visit:  http://www.php.net/error_reporting\r\n|\r\n*/\r\n\terror_reporting(-1);\r\n\terror_reporting(E_ALL);\r\n\t\r\n\t// Change this to your timezone\r\n\t// Available timezone: http://www.php.net/manual/en/timezones.php\r\n\t// date_default_timezone_set('Asia/Jakarta');  \r\n/*\r\n\r\n\r\nBut still nothing much in syslog.\r\n\r\nPlease advise as I am looking forward to use kalkun\r\n\r\nRegards,\r\n\r\nRajbps"}}