Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sexfrance authored Dec 11, 2024
1 parent 08b90a6 commit 2ee5cb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ from mailtmwrapper import MailTM
You can create a temporary email account using the `create_account` method:

```python
mail = MailTM()
token = MailTM().create_token(email, password)
mail = MailTM(token) # token is optional

# Create a new temporary email account
account = mail.create_account()
Expand Down

0 comments on commit 2ee5cb6

Please sign in to comment.