1 Answer
- Newest
- Most votes
- Most comments
1
Hello.
In your case, you are sending the message body in HTML, so I think you need to break lines with HTML tags.
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ses/client/send_email.html
I think that line breaks can be created by using "<br>" as shown below.
body = "DB is:''"+db_engine+"'', <br> Count is:''"+str(rds_count)+"''"
Relevant content
- Accepted Answerasked 2 years ago
- asked 4 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago