Skip to content

Commit 9c7121e

Browse files
committed
Update README
1 parent 03df0e5 commit 9c7121e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,9 @@ if len(msg_id) == 0:
144144

145145
tx = Transactional(auth)
146146

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

0 commit comments

Comments
 (0)