设置域名的SMTP密码
//设置域名的SMTP密码
@Test
public void testModifyPWByDomain() {
IAcsClient client = IAcsClientUtil.getiAcsClient();
ModifyPWByDomainRequest request = new ModifyPWByDomainRequest();
try {
request.setDomainName("example.net");
request.setPassword("***");
ModifyPWByDomainResponse httpResponse = client.getAcsResponse(request);
System.out.println("------testModifyPWByDomain------" + JSON.toJSONString(httpResponse));
} catch (ServerException e) {
e.printStackTrace();
} catch (ClientException e) {
e.printStackTrace();
}
}
文档内容是否对您有帮助?