Using SES SDK to send email from python 2.7 on Lambda -
i trying build lambda function using python 2.7 ( using boto3). need use aws sdk trigger ses email. sending to, email_subject, email_body arguments function. function in turn should use aws access key id , aws secrete access key have permissions trigger emails verified domain , verified email id.
i looking way specify aws credentials -
import boto3 client = boto3.client('ses') ..... < how mention credentials before calling send_email function ? > response = client.send_email( ...... )
Comments
Post a Comment