openapi-apps icon indicating copy to clipboard operation
openapi-apps copied to clipboard

AWS SES

Open tristandostaler opened this issue 3 years ago • 3 comments

Hello,

The AWS SES app is missing the possibility to use the "reply to" field of an email

tristandostaler avatar Jan 24 '22 21:01 tristandostaler

Hey @shalin24999, could you have a look at this?

frikky avatar Jan 25 '22 12:01 frikky

Hey @tristandostaler could you please check 257. Is this what you suggested?

shalin24999 avatar Jan 31 '22 07:01 shalin24999

Yes that seems right!

If it's worth anything, the lines 59 to 104 could be simplified without the if, hence reducing the code duplication. The only difference is "text" vs "html". There could be a if before, or a function call with the type. Ex if you want to default to Html: email_type = "Html" if data_option != 'Html': email_type = "Text" response = client.send_email( (...) 'Body': { email_type: {

tristandostaler avatar Jan 31 '22 13:01 tristandostaler