Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SES send email example doesn't work #4200

Open
okaram opened this issue Jul 12, 2024 · 2 comments
Open

SES send email example doesn't work #4200

okaram opened this issue Jul 12, 2024 · 2 comments
Labels
documentation This is a problem with documentation. p2 This is a standard priority issue service-api This issue is caused by the service API, not the SDK implementation. ses

Comments

@okaram
Copy link

okaram commented Jul 12, 2024

Describe the issue

The example for sending email in https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ses/client/send_email.html

does NOT work. It seems it has some extra empty parameters that the API doesn't support.

Removing these lines at the end of the example make it work:
ReplyToAddresses=[
],
ReturnPath='',
ReturnPathArn='',
SourceArn='',

Links

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ses/client/send_email.html

@okaram okaram added documentation This is a problem with documentation. needs-triage This issue or PR still needs to be triaged. labels Jul 12, 2024
@tim-finnigan tim-finnigan self-assigned this Jul 12, 2024
@tim-finnigan tim-finnigan added the investigating This issue is being investigated and/or work is in progress to resolve the issue. label Jul 12, 2024
@tim-finnigan
Copy link
Contributor

Thanks for reporting this issue, I can confirm that the example does not work with those fields set to empty strings. In this case the example will need to be fixed upstream by the SES team, since examples like these are modeled for use across AWS SDKs (For example .NET and JavaScript).

Since this applies to other SDKs, I created an issue for this in our cross-SDK repository (aws/aws-sdk#778). I'll also reach out to the SES team regarding this issue. Thanks again.

@tim-finnigan tim-finnigan removed investigating This issue is being investigated and/or work is in progress to resolve the issue. needs-triage This issue or PR still needs to be triaged. labels Jul 12, 2024
Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

@tim-finnigan tim-finnigan added service-api This issue is caused by the service API, not the SDK implementation. ses labels Oct 30, 2024
@tim-finnigan tim-finnigan removed their assignment Oct 30, 2024
@tim-finnigan tim-finnigan added the p2 This is a standard priority issue label Oct 30, 2024
@tim-finnigan tim-finnigan reopened this Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation This is a problem with documentation. p2 This is a standard priority issue service-api This issue is caused by the service API, not the SDK implementation. ses
Projects
None yet
Development

No branches or pull requests

2 participants