# Mailgun is not loving your login or password

**URL:** https://meta.discourse.org/t/mailgun-is-not-loving-your-login-or-password/73340
**Category:** Support
**Created:** [2017 年 11 月 3 日午前 8:18 UTC](https://meta.discourse.org/t/mailgun-is-not-loving-your-login-or-password/73340 "2017-11-03T08:18:53Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![kgreed](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kgreed/32/168602_2.png) [@kgreed](https://meta.discourse.org/u/kgreed)
#### Post date: [2017 年 11 月 3 日午前 8:18 UTC](https://meta.discourse.org/t/mailgun-is-not-loving-your-login-or-password/73340/1 "2017-11-03T08:18:53Z")

</div>

I had cause to reset my SMTP password in mailgun.  
I re-ran the discourse set up ( twice double checking the password)  
but I still cannot send email.  
I followed the help at [This Question](https://meta.discourse.org/t/discourse-server-failing-to-send-email-to-the-initial-registered-user/70002/16) and found the message “Mailgun is not loving your login or password”  
The login has not changed and I have double checked the new password.

---

<div class="post-metadata">

### Author: ![kgreed](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kgreed/32/168602_2.png) [@kgreed](https://meta.discourse.org/u/kgreed)
#### Post date: [2017 年 11 月 3 日午前 9:39 UTC](https://meta.discourse.org/t/mailgun-is-not-loving-your-login-or-password/73340/2 "2017-11-03T09:39:53Z")

</div>

> <https://stackoverflow.com/questions/22541314/nodemailer-and-mailgun>

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2017 年 11 月 3 日午前 10:19 UTC](https://meta.discourse.org/t/mailgun-is-not-loving-your-login-or-password/73340/3 "2017-11-03T10:19:52Z")

</div>

Are you confusing the API key and the smtp password?

---

<div class="post-metadata">

### Author: ![kgreed](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kgreed/32/168602_2.png) [@kgreed](https://meta.discourse.org/u/kgreed)
#### Post date: [2017 年 11 月 3 日午後 9:13 UTC](https://meta.discourse.org/t/mailgun-is-not-loving-your-login-or-password/73340/4 "2017-11-03T21:13:03Z")

</div>

I dont think so.  
The only thing I changed was DISCOURSE\_SMTP\_PASSWORD in Discourse Setup and the password in MailGun

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2017 年 11 月 3 日午後 9:14 UTC](https://meta.discourse.org/t/mailgun-is-not-loving-your-login-or-password/73340/5 "2017-11-03T21:14:58Z")

</div>

And it came from somewhere that looked like this? (Except there’s a green “verified” box instead of “unverified”.)

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/8/48b6549878a4fba3f277891111f8c6e47e7a7ac5.png)

---

<div class="post-metadata">

### Author: ![kgreed](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kgreed/32/168602_2.png) [@kgreed](https://meta.discourse.org/u/kgreed)
#### Post date: [2017 年 11 月 3 日午後 9:21 UTC](https://meta.discourse.org/t/mailgun-is-not-loving-your-login-or-password/73340/6 "2017-11-03T21:21:56Z")

</div>

Yes. Only with my domain name instead of [d.Itcmp.net](http://d.Itcmp.net) and different IP Address, API Key and password.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2017 年 11 月 3 日午後 9:23 UTC](https://meta.discourse.org/t/mailgun-is-not-loving-your-login-or-password/73340/7 "2017-11-03T21:23:05Z")

</div>

You want the password, though, not the API Key.

---

<div class="post-metadata">

### Author: ![kgreed](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kgreed/32/168602_2.png) [@kgreed](https://meta.discourse.org/u/kgreed)
#### Post date: [2017 年 11 月 3 日午後 10:00 UTC](https://meta.discourse.org/t/mailgun-is-not-loving-your-login-or-password/73340/8 "2017-11-03T22:00:42Z")

</div>

Yes the default password.  
I have checked several times  
Could there be some expectation about the password? Over 26 characters for example?

I have only started look at MX records etc because I don’t know what else to check.

---

<div class="post-metadata">

### Author: ![kgreed](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kgreed/32/168602_2.png) [@kgreed](https://meta.discourse.org/u/kgreed)
#### Post date: [2017 年 11 月 4 日午前 2:48 UTC](https://meta.discourse.org/t/mailgun-is-not-loving-your-login-or-password/73340/11 "2017-11-04T02:48:20Z")

</div>

In discourse set up I was using the SMTP email address [postmaster@discourse.mydomain.com](mailto:postmaster@discourse.mydomain.com) however the mailgun login is just [postmaster@mydomain.com](mailto:postmaster@mydomain.com) Which one should I change?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2017 年 11 月 4 日午前 2:53 UTC](https://meta.discourse.org/t/mailgun-is-not-loving-your-login-or-password/73340/12 "2017-11-04T02:53:44Z")

</div>

You should use the one that mailgun said to use. So take discourse out of the username.

---

<div class="post-metadata">

### Author: ![kgreed](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kgreed/32/168602_2.png) [@kgreed](https://meta.discourse.org/u/kgreed)
#### Post date: [2017 年 11 月 4 日午前 3:35 UTC](https://meta.discourse.org/t/mailgun-is-not-loving-your-login-or-password/73340/13 "2017-11-04T03:35:41Z")

</div>

I got confused because the 30 minute set up instructions had [postmaster@discourse.example.com]:  
and [postmaster@discourse.mydomain.com](mailto:postmaster@discourse.mydomain.com) did actually work for me at first strangely.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2017 年 12 月 20 日午後 9:25 UTC](https://meta.discourse.org/t/mailgun-is-not-loving-your-login-or-password/73340/14 "2017-12-20T21:25:32Z")

</div>

> [@kgreed](#):
>
> [postmaster@discourse.mydomain.com](mailto:postmaster@discourse.mydomain.com) did actually work for me at first strangely.

That’s the default username for mailgun. It appears that yours somehow got changed.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2024 年 6 月 8 日午後 12:43 UTC](https://meta.discourse.org/t/mailgun-is-not-loving-your-login-or-password/73340/15 "2024-06-08T12:43:42Z")

</div>

このトピックは2409日後に自動的に閉じられました。返信はもう許可されていません。
