when a mail with a pdf attached is sent it is not received into connect. But mails with txt attachments are received.
i will get these error , while sending email with pdf document. and it was not landed in amazon connect.
see a snippet from the failed log "[ERROR] KeyError: 'text/plain'
Traceback (most recent call last):
File "/var/task/lambda_function.py", line 49, in lambda_handler
str_base64_content = email_message["text/plain"]"
Hi Team,
Unable to send PDF file as attachment.
when a mail with a pdf attached is sent it is not received into connect. But mails with txt attachments are received.
i will get these error , while sending email with pdf document. and it was not landed in amazon connect.
see a snippet from the failed log "[ERROR] KeyError: 'text/plain' Traceback (most recent call last): File "/var/task/lambda_function.py", line 49, in lambda_handler str_base64_content = email_message["text/plain"]"
Thank you