Prettify output #3

Open
opened 2023-09-22 19:06:09 +00:00 by abner · 0 comments

Right now, we're dumping a JSON object for each email that we send. For example:

> python send_mail.py --subject "HANDSTRENGTH September Meetup" body.html
{"To":"jacobbellemail@gmail.com","SubmittedAt":"2023-09-05T00:22:07.8739859Z","MessageID":"c61dafd8-068f-4197-90d7-909d047431b6","ErrorCode":0,"Message":"OK"}

And I'd rather prettify this because it's hard to scan through the raw output, especially when we're sending hundreds of emails.

Right now, we're dumping a JSON object for each email that we send. For example: ``` > python send_mail.py --subject "HANDSTRENGTH September Meetup" body.html {"To":"jacobbellemail@gmail.com","SubmittedAt":"2023-09-05T00:22:07.8739859Z","MessageID":"c61dafd8-068f-4197-90d7-909d047431b6","ErrorCode":0,"Message":"OK"} ``` And I'd rather prettify this because it's hard to scan through the raw output, especially when we're sending hundreds of emails.
abner self-assigned this 2023-09-22 19:06:09 +00:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: meetups/send-mail#3
There is no content yet.