Skip to content

Commit

Permalink
Merge pull request #391 from davidgarciab/add-url-param-to-docs
Browse files Browse the repository at this point in the history
fix(docs): Add url param for EU infrastructure
  • Loading branch information
olexandr-mazepa authored Jan 26, 2024
2 parents dead251 + 58f4224 commit 821045d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ Next, require the module and instantiate a mailgun client by calling `new Mailgu

NOTE: starting from version 3.0 you need to pass FormData (we need this to keep library universal). For node.js you can use `form-data` library.

IMPORTANT: if you are using EU infrastructure, you need to also pass `url: 'https://api.eu.mailgun.net'` together with auth credentials as stated in [Mailgun docs](https://documentation.mailgun.com/en/latest/quickstart-sending.html#send-via-api)

### Imports
Once the package is installed, you can import the library using `import` or `require` approach:

Expand Down

0 comments on commit 821045d

Please sign in to comment.