* requests to Amazon SES.
* @param address
* The email address to verify.
*/
private static void verifyEmailAddress(AmazonSimpleEmailService ses, String address) {
ListVerifiedEmailAddressesResult verifiedEmails = ses.listVerifiedEmailAddresses();
if (verifiedEmails.getVerifiedEmailAddresses().contains(address)) return;
ses.verifyEmailAddress(new VerifyEmailAddressRequest().withEmailAddress(address));
System.out.println("Please check the email address " + address + " to verify it");
System.exit(0);
}