1

I am using Python boto3 to publish a message with SNS. I want to send tabular data as plain text so it appears as rows and columns. But my emails are being sent with regular font, so the columns don't line up. Is there a way to make it use monospaced font?

Elliott B
  • 980
  • 9
  • 32
  • 1
    Possible duplicate of [Sending html content in AWS SNS(Simple Notification Service) emails notifications](https://stackoverflow.com/questions/32241928/sending-html-content-in-aws-snssimple-notification-service-emails-notification) – John Rotenstein Oct 06 '19 at 07:24

1 Answers1

2

Amazon SNS sends plain-text messages with no formatting. Any formatting would be provided by your email client (eg choice of font).

If you wish to send a formatted message, you could write an AWS Lambda function that is triggered by the SNS message, then use Amazon Simple Email Service (SES) to send a formatted message.

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470