{"action":"created","issue":{"url":"https://api.github.com/repos/HumanEducationForLecture/Lastroom/issues/15","repository_url":"https://api.github.com/repos/HumanEducationForLecture/Lastroom","labels_url":"https://api.github.com/repos/HumanEducationForLecture/Lastroom/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/HumanEducationForLecture/Lastroom/issues/15/comments","events_url":"https://api.github.com/repos/HumanEducationForLecture/Lastroom/issues/15/events","html_url":"https://github.com/HumanEducationForLecture/Lastroom/issues/15","id":251813040,"number":15,"title":"확인한번부탁드립나디","user":{"login":"choiseonghyuk","id":30721274,"avatar_url":"https://avatars0.githubusercontent.com/u/30721274?v=4","gravatar_id":"","url":"https://api.github.com/users/choiseonghyuk","html_url":"https://github.com/choiseonghyuk","followers_url":"https://api.github.com/users/choiseonghyuk/followers","following_url":"https://api.github.com/users/choiseonghyuk/following{/other_user}","gists_url":"https://api.github.com/users/choiseonghyuk/gists{/gist_id}","starred_url":"https://api.github.com/users/choiseonghyuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choiseonghyuk/subscriptions","organizations_url":"https://api.github.com/users/choiseonghyuk/orgs","repos_url":"https://api.github.com/users/choiseonghyuk/repos","events_url":"https://api.github.com/users/choiseonghyuk/events{/privacy}","received_events_url":"https://api.github.com/users/choiseonghyuk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-08-22T01:33:32Z","updated_at":"2017-08-22T02:53:49Z","closed_at":null,"body":"\\\\\\\r\npackage workspace;\r\n\r\nimport java.util.Properties;\r\nimport javax.mail.Address;\r\nimport javax.mail.Authenticator;\r\nimport javax.mail.Message;\r\nimport javax.mail.PasswordAuthentication;\r\nimport javax.mail.Session;\r\nimport javax.mail.Transport;\r\nimport javax.mail.internet.InternetAddress;\r\nimport javax.mail.internet.MimeMessage;\r\n\r\n\tpublic class Test3 {\r\n\t    \r\n\t    public static void sendMail(){\r\n\t        Properties properties = new Properties();\r\n\t        properties.put(\"mail.smtp.user\", \"senderEmail@gmail.com\"); //구글 계정\r\n\t        properties.put(\"mail.smtp.host\", \"smtp.gmail.com\");\r\n\t        properties.put(\"mail.smtp.port\", \"465\");\r\n\t        properties.put(\"mail.smtp.starttls.enable\", \"true\");\r\n\t        properties.put(\"mail.smtp.auth\", \"true\");\r\n\t        properties.put(\"mail.smtp.debug\", \"true\");\r\n\t        properties.put(\"mail.smtp.socketFactory.port\", \"465\");\r\n\t        properties.put(\"mail.smtp.socketFactory.class\", \"javax.net.ssl.SSLSocketFactory\");\r\n\t        properties.put(\"mail.smtp.socketFactory.fallback\", \"false\");\r\n\t        \r\n\t        try {\r\n\t        \tAuthenticator auth = new senderAccount();\r\n\t            Session session = Session.getInstance(properties, auth);\r\n\t            session.setDebug(true); // 메일을 전송할 때 상세한 상황을 콘솔에 출력한다.\r\n\t            MimeMessage msg = new MimeMessage(session);\r\n\t \r\n\t            msg.setSubject(\"안녕하세요\");\r\n\t            Address fromAddr = new InternetAddress(\"popstars0906@gmail.com\"); // 보내는사람 EMAIL\r\n\t            msg.setFrom(fromAddr);\r\n\t            Address toAddr = new InternetAddress(\"dows5478@naver.com\");    //받는사람 EMAIL\r\n\t            msg.addRecipient(Message.RecipientType.TO, toAddr);\r\n\t            msg.setContent(\"회원가입을 축하드립니다\", \"text/plain;charset=KSC5601\"); //메일 전송될 내용\r\n\t            Transport.send(msg);\r\n\t            \r\n\t            \r\n\t        } catch (Exception e) {\r\n\t            e.printStackTrace();\r\n\t        }\r\n\t    }\r\n\t \r\n\t    private static class senderAccount extends javax.mail.Authenticator {\r\n\t    \t \r\n\t        public PasswordAuthentication getPasswordAuthentication() {\r\n\t            return new PasswordAuthentication(\"popstars0906\", \"rladlwl10@\"); // @gmail.com 제외한 계정 ID, PASS\r\n\t \r\n\t        }\r\n\t    }\r\n}\r\n\\\\\\\r\n\r\n여기서 javax.mail.AuthenticationFailedException 이오류 발생으로찾아보니 아이디와 비밀번호 쪽이 문제라고 확인이되서 여러가지 방법을 찾아봤으나 해결이되지않습니다 조언을구합니다\r\n\r\n혹여 포트번호가 문제라면 제포트번호로 바꾸는것인가요 포트번호는 임의의값이 아닌가요?"},"comment":{"url":"https://api.github.com/repos/HumanEducationForLecture/Lastroom/issues/comments/323905101","html_url":"https://github.com/HumanEducationForLecture/Lastroom/issues/15#issuecomment-323905101","issue_url":"https://api.github.com/repos/HumanEducationForLecture/Lastroom/issues/15","id":323905101,"user":{"login":"choiseonghyuk","id":30721274,"avatar_url":"https://avatars0.githubusercontent.com/u/30721274?v=4","gravatar_id":"","url":"https://api.github.com/users/choiseonghyuk","html_url":"https://github.com/choiseonghyuk","followers_url":"https://api.github.com/users/choiseonghyuk/followers","following_url":"https://api.github.com/users/choiseonghyuk/following{/other_user}","gists_url":"https://api.github.com/users/choiseonghyuk/gists{/gist_id}","starred_url":"https://api.github.com/users/choiseonghyuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choiseonghyuk/subscriptions","organizations_url":"https://api.github.com/users/choiseonghyuk/orgs","repos_url":"https://api.github.com/users/choiseonghyuk/repos","events_url":"https://api.github.com/users/choiseonghyuk/events{/privacy}","received_events_url":"https://api.github.com/users/choiseonghyuk/received_events","type":"User","site_admin":false},"created_at":"2017-08-22T02:53:49Z","updated_at":"2017-08-22T02:53:49Z","body":"25번으로 수정해도 같은문제가 발생하빈다"}}
{"actor":{"display_login":"choiseonghyuk"}}