Skip to content

Commit 7b0d7b9

Browse files
author
Said Tahali
committed
fix: fixing readme file
1 parent 49ddfe6 commit 7b0d7b9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ For [dedicated documentation click here](https://trustedshops-public.github.io/p
2626
```python
2727
from mailtrap_handler import MailTrapHandler
2828

29-
mailtrap = MailTrapHandler(TOKEN)
29+
mailtrap = MailTrapHandler(TOKEN, ACCOUNT_ID)
3030
# then do what you need with the mailtrap object
3131
```
3232

@@ -69,12 +69,13 @@ from mailtrap_handler import MailTrapHandler
6969

7070
# requirements
7171
token = "123wellthiswouldbeyourtokenhere098"
72+
account_id = 987654
7273
inbox = 12349876 # this is your mailtrap inbox id
7374
email = "target_email+probably_with_some_alias@inbox.mailtrap.io"
7475
title = "Oy! Congrats on getting Your new T-shirt"
7576

7677
# creating mailtraphandler object
77-
mailtrap = MailTrapHandler(token)
78+
mailtrap = MailTrapHandler(token, account_id)
7879

7980
# getting the html content
8081
mails = mailtrap.get_mail(inbox, email, title=title, 10)

0 commit comments

Comments
 (0)