Skip to content

Commit 57dbb5b

Browse files
author
Guillaume Badi
committed
Update README.md
1 parent 766a64a commit 57dbb5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ email = {
7474
'Recipients': [{'Email': 'your email here'}]
7575
}
7676

77-
mailjet.send.post(email)
77+
mailjet.send.create(email)
7878

7979
```
8080

@@ -83,7 +83,7 @@ mailjet.send.post(email)
8383

8484
# wrapping the call inside a function
8585
def new_contact(email):
86-
return mailjet.contact.new(data={'Email': email})
86+
return mailjet.contact.create(data={'Email': email})
8787

8888
new_contact('[email protected]')
8989
```

0 commit comments

Comments
 (0)