Skip to content

Commit f0f267a

Browse files
dcabothrawn01
authored andcommitted
Document how to use EU domains (mailgun#175)
1 parent 75be1cc commit f0f267a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ domain = 'example.com'
5656
result = mg_client.get("#{domain}/events", {:event => 'delivered'})
5757
```
5858

59+
If you're using the EU domains, make sure you specify it when creating the client:
60+
61+
```
62+
mg_client = Mailgun::Client.new 'your-api-key', 'api.eu.mailgun.net'
63+
```
64+
5965
Rails
6066
-----
6167

0 commit comments

Comments
 (0)