1 回答
- 最新
- 投票最多
- 评论最多
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)+"''"
相关内容
- AWS 官方已更新 5 个月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前