File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ For [dedicated documentation click here](https://trustedshops-public.github.io/p
2626``` python
2727from 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
7171token = " 123wellthiswouldbeyourtokenhere098"
72+ account_id = 987654
7273inbox = 12349876 # this is your mailtrap inbox id
7374email = " target_email+probably_with_some_alias@inbox.mailtrap.io"
7475title = " 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
8081mails = mailtrap.get_mail(inbox, email, title = title, 10 )
You can’t perform that action at this time.
0 commit comments