Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishwor Gurung committed Feb 10, 2021
1 parent 03df0e5 commit 9c7121e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@ if len(msg_id) == 0:

tx = Transactional(auth)

# Get message details using message id
msg_details = tx.message_details(msg_id, statistics=True, exclude_message_body=False)
# Get message details using message id.
# We can optionally disable loading the body by setting exclude_message_body to `True`.
msg_details = tx.message_details(msg_id, statistics=False, exclude_message_body=True)
print(f'smart email id: {msg_details.SmartEmailID}')
print(f'bounce type: {msg_details.BounceType}')
print(f'bounce category: {msg_details.BounceCategory}')
Expand Down

0 comments on commit 9c7121e

Please sign in to comment.