Difference between revisions of "Aws ses send-email"

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
 
  `arn:aws:[[sts]]::123456789:assumed-role/yoursmRole/i-1234456' is not authorized  
 
  `arn:aws:[[sts]]::123456789:assumed-role/yoursmRole/i-1234456' is not authorized  
 
  to perform `[[ses:SendEmail]]' on resource `arn:aws:ses:eu-west- 1:123445678:identity/[email protected]'
 
  to perform `[[ses:SendEmail]]' on resource `arn:aws:ses:eu-west- 1:123445678:identity/[email protected]'
 +
 +
== Related ==
 +
* [[mailutils]]
  
 
== See also ==
 
== See also ==

Revision as of 15:58, 30 March 2023

Examples

aws ses send-email --from "[email protected]" --to "[email protected]" --subject "Test email" --text "this is a test" --region eu-west-1

Errors

aws ses send-email --from "[email protected]" --to "[email protected]" --subject "Test email" --text "this is a test" --region eu-west-1

An error occurred (AccessDenied) when calling the SendEmail operation: User 
`arn:aws:sts::123456789:assumed-role/yoursmRole/i-1234456' is not authorized 
to perform `ses:SendEmail' on resource `arn:aws:ses:eu-west- 1:123445678:identity/[email protected]'

Related

See also

Advertising: