{"action":"opened","issue":{"url":"https://api.github.com/repos/JeffSLinux/KnifeOnSkull/issues/1","repository_url":"https://api.github.com/repos/JeffSLinux/KnifeOnSkull","labels_url":"https://api.github.com/repos/JeffSLinux/KnifeOnSkull/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/JeffSLinux/KnifeOnSkull/issues/1/comments","events_url":"https://api.github.com/repos/JeffSLinux/KnifeOnSkull/issues/1/events","html_url":"https://github.com/JeffSLinux/KnifeOnSkull/issues/1","id":177505606,"number":1,"title":"NBsmtp","user":{"login":"JeffSLinux","id":22245631,"avatar_url":"https://avatars.githubusercontent.com/u/22245631?v=3","gravatar_id":"","url":"https://api.github.com/users/JeffSLinux","html_url":"https://github.com/JeffSLinux","followers_url":"https://api.github.com/users/JeffSLinux/followers","following_url":"https://api.github.com/users/JeffSLinux/following{/other_user}","gists_url":"https://api.github.com/users/JeffSLinux/gists{/gist_id}","starred_url":"https://api.github.com/users/JeffSLinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeffSLinux/subscriptions","organizations_url":"https://api.github.com/users/JeffSLinux/orgs","repos_url":"https://api.github.com/users/JeffSLinux/repos","events_url":"https://api.github.com/users/JeffSLinux/events{/privacy}","received_events_url":"https://api.github.com/users/JeffSLinux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-16T19:46:06Z","updated_at":"2016-09-16T19:46:06Z","closed_at":null,"body":"#!/bin/bash \r\nexport PID=$$\r\nexport smtpemailfrom=<email From>\r\nexport zabbixemailto=$1\r\nexport zabbixsubject=$2\r\nexport zabbixbody=$3\r\nexport smtpdomain=Domain\r\nexport smtpserver=Server Email\r\nexport smtplogin=User Login\r\nexport smtppass=Pass\r\nexport sentdate=\"$(date +%a\", \"%d\" \"%b\" \"%Y\" \"%T\" \"%z)\"\r\n\r\n\r\necho \"From: \\\"Beautiful Name\\\" <$smtpemailfrom>\" > /tmp/mail-$PID\r\necho \"To: $zabbixemailto\" >> /tmp/mail-$PID\r\necho \"Subject: $zabbixsubject\" >> /tmp/mail-$PID\r\necho \"Date: $sentdate\" >> /tmp/mail-$PID\r\necho \"\" >> /tmp/mail-$PID\r\necho \"$zabbixbody\" >> /tmp/mail-$PID\r\necho \"\" >> /tmp/mail-$PID\r\n\r\n\r\n/usr/local/bin/nbsmtp -D -d $smtpdomain -f $smtpemailfrom -h $smtpserver -U $smtplogin -P $smtppass -S -n < /tmp/mail-$PID\r\n"}}
{"actor":{"display_login":"JeffSLinux"}}