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

Create a method handling boto3 API #427

Closed
OtisRed opened this issue Jul 14, 2021 · 1 comment
Closed

Create a method handling boto3 API #427

OtisRed opened this issue Jul 14, 2021 · 1 comment
Assignees
Labels
backend dependencies Pull requests that update a dependency file

Comments

@OtisRed
Copy link
Contributor

OtisRed commented Jul 14, 2021

Subject of the issue:

We should introduce implementation on Boto3 API.

Technical description

We should distinguish between: send_to_ses (for actual sending emails) and send_to_etheral (for testing purposes) based on send_email distinction method provided in #426.

  • current send_message method in backend/resources/contact.py should be renamed to send_to_etheral and left intact,
  • there should be a second send_to_ses method that handles sending messages via Boto3 API to SES.
  • define the second method to send text-based emails. It's importnat to define explicitly if it's text or html. We will handle html e-mails later on.
@OtisRed OtisRed added backend dependencies Pull requests that update a dependency file labels Jul 14, 2021
@arturtamborski arturtamborski self-assigned this Jul 19, 2021
@OtisRed
Copy link
Contributor Author

OtisRed commented Sep 1, 2021

Ok so we found another way to solve this

@OtisRed OtisRed closed this as completed Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

2 participants