title: Unable to send email from Amazon EC2 Server in Java
body: <p>Trying to send mail from Amazon EC2 server with java code but getting an exception like -</p>
  
  <pre><code>Exception in thread "main" Status Code: 403, AWS Request ID: 3e9319ec-bc62-11e1-b2ea-6bde1b4f192c, AWS Error Code: AccessDenied, AWS Error Message: User: arn:aws:iam::696355342546:user/brandzter is not authorized to perform: ses:SendEmail
  at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:500)
  at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:262)
  at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:166)
  at com.amazonaws.services.simpleemail.AmazonSimpleEmailServiceClient.invoke(AmazonSimpleEmailServiceClient.java:447)
  at com.amazonaws.services.simpleemail.AmazonSimpleEmailServiceClient.sendEmail(AmazonSimpleEmailServiceClient.java:242)
  at brandzter.util.SESExample.SendMail(SESExample.java:46)
  at brandzter.util.SESExample.&lt;init&gt;(SESExample.java:31)
  at brandzter.util.SESExample.main(SESExample.java:52)
  </code></pre>
  
  <p>Java Result: 1</p>
  
  <p>My credential is ok don't know why I am unable to send email here.
  will I need to configure/update any setting in server?  </p>