from buyercall.extensions import ses_client
class SendMail:
@staticmethod
def send(recipients, sender, subject, plain_body, html_body, configuration_set_name):
return ses_client.send_email(recipients=recipients, config_set_name=configuration_set_name,
sender=sender, subject=subject, text=plain_body, html=html_body)