Difference between revisions of "Aws ses send-email"
Jump to navigation
Jump to search
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
* https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ses/send-email.html | * https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ses/send-email.html | ||
+ | |||
+ | == 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 == | ||
+ | * <code>[[mailutils]]</code> | ||
== See also == | == See also == | ||
* {{aws ses}} | * {{aws ses}} | ||
+ | * {{mail}} | ||
[[Category:AWS]] | [[Category:AWS]] |
Latest revision as of 15:59, 30 March 2023
Contents
Examples[edit]
aws ses send-email --from "[email protected]" --to "[email protected]" --subject "Test email" --text "this is a test" --region eu-west-1
Errors[edit]
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[edit]
See also[edit]
Advertising: