List of usage examples for com.amazonaws.services.simpleemail.model GetSendQuotaResult getMax24HourSend
public Double getMax24HourSend()
The maximum number of emails the user is allowed to send in a 24-hour interval.
From source file:org.openchain.certification.utility.EmailUtility.java
License:Apache License
@SuppressWarnings("unused") private static void logMailInfo(AmazonSimpleEmailServiceClient client, ServletConfig config) { logger.info("Email Service Name: " + client.getServiceName()); List<String> identities = client.listIdentities().getIdentities(); for (String identity : identities) { logger.info("Email identity: " + identity); }// w w w.j a v a 2 s. c om List<String> verifiedEmails = client.listVerifiedEmailAddresses().getVerifiedEmailAddresses(); for (String email : verifiedEmails) { logger.info("Email verified email address: " + email); } GetSendQuotaResult sendQuota = client.getSendQuota(); logger.info("Max 24 hour send=" + sendQuota.getMax24HourSend() + ", Max Send Rate=" + sendQuota.getMaxSendRate() + ", Sent last 24 hours=" + sendQuota.getSentLast24Hours()); }