Amazon SES reading emails stored in an s3 bucket using java from S3ObjectInputStream object
问题 I have configured my AWS SES to store all incoming emails to an S3 bucket with Object key Prefix as Email. I have a Java application using with I am trying to read all objects in that bucket and then move them to another so that only the unread emails remain in the bucket. I use the following code: public class FileReadImpl { private static final Logger logger = LoggerFactory.getLogger(FileReadImpl.class); AmazonS3 s3; public void init(String accessKey, String secretKey) { s3 = new