| | |
| | | |
| | | String appid = "16082"; |
| | | String appkey = "f34c792a1112c16c190ed7190d386c4f"; |
| | | String project = "fMBQk1"; |
| | | String project = "zoKVB"; |
| | | String signtype = ""; |
| | | String from = "ex@submail.excoin.site"; |
| | | String from = "biue@submail.biue.me"; |
| | | |
| | | requestData.put("appid", appid); |
| | | requestData.put("project", project); |
| | |
| | | return true; |
| | | } |
| | | } |
| | | } catch (ClientProtocolException e) { |
| | | e.printStackTrace(); |
| | | } catch (IOException e) { |
| | | e.printStackTrace(); |
| | | } |
| | |
| | | return json.getString("timestamp"); |
| | | } |
| | | closeableHttpClient.close(); |
| | | } catch (ClientProtocolException e) { |
| | | e.printStackTrace(); |
| | | } catch (IOException e) { |
| | | e.printStackTrace(); |
| | | } |
| | |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | System.out.println(sendMail("123@123.com", "123456")); |
| | | System.out.println(sendMail("546766039@qq.com", "123456")); |
| | | } |
| | | } |