当我添加单个目标电子邮件时,它工作正常,但当我尝试向集合中添加更多电子邮件地址时,它会引发异常
Received error response: com.amazonaws.services.simpleemail.model.AmazonSimpleEmailServiceException: Local address contains illegal character (Service: AmazonSimpleEmailService; Status Code: 400; Error Code: InvalidParameterValue; Request ID:
这是我的代码
rawEmailRequest.setDestinations(Arrays.asList("To: some_email@hello.io",
"CC: some_email@hello.io",
"BCC: some_email@hello.io",
"BCC: some_email@hello.io"));