# For sending emails, custom SMTP now required

**URL:** <https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815>\
**Category:** Uncategorized\
**Created:** [July 1, 2019, 9:57pm UTC](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815 "2019-07-01T21:57:49Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [July 1, 2019, 9:57pm UTC](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815/1 "2019-07-01T21:57:49Z")

</div>

In previous versions, Manager could send emails without setup. This no longer works.

### Background

Email protocol is abused by spammers who send unsolicited emails and as a result, email providers are employing various anti-spam detection mechanisms to be able to tell legitimate emails from spam emails apart.

In order to make sure that emails sent from Manager are not considered as spam, we’ve been using reputable SMTP relay service from [Mailgun.com](http://Mailgun.com)

Unfortunately [Mailgun.com](http://Mailgun.com) has shut down our account yesterday because our emails look suspicious due to high rate of bounced emails. Because people often mistype email addresses in Manager, we always had higher than typical bounce rate. This hasn’t been problem because our volume was low. However since Manager is used by more and more people every month, we’ve started to send enough emails through [Mailgun.com](http://Mailgun.com) to get on their radar.

We could find another SMTP relay but it would be a matter of time before we’d get shut down again. So we need to move to solution which won’t break.

### Solution

You can still send emails from Manager but you will need to provide your own SMTP relay credentials under `Settings` tab, then `Email Settings`.

 ![Screenshot_2019-07-02%20Northwind%20(2019-04-05)%20-%20Email%20Settings%20%E2%80%94%20Edit](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/6/e/6ee8b606200dbe019e40b6d3af7397468add8e7e.png)

If you have an email address, you have SMTP server you can use (e.g. Gmail). There are also plenty of SMTP server providers who offer this service for free. Many have generous limit. For example, [Mailgun.com](http://Mailgun.com) allows to send up to 10,000 emails per month for free.

The key is that every user of Manager will need to have their own SMTP relay. There cannot be a shared one across tens of thousands of users. One bad actor will eventually ruin it for everyone.

Tutorials:

- [Google Gmail](https://forum.manager.io/t/google-gmail/22820)
- [Yahoo! Mail](https://forum.manager.io/t/yahoo-mail/22838)
- [Microsoft Office 365](https://forum.manager.io/t/microsoft-office-365/22839)

---

<div class="post-metadata">

**Author:** ![VISA-MC](https://avatars.discourse-cdn.com/v4/letter/v/67e7ee/32.png) [@VISA-MC](https://forum.manager.io/u/VISA-MC)\
**Post date:** [July 2, 2019, 12:12am UTC](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815/2 "2019-07-02T00:12:27Z")

</div>

I know you are busy but for people using their own servers, it would be helpful to know the technical requirements here or at least get a more detailed error that “message not sent”.

For example, currently I have my in house SMTP server working without SSL. However by changing the port to 465 and checking the SSL box, I get no error aside from “message not sent” so I have nothing to troubleshoot. We do have the same server sending out other reports in other software using 465 and SSL so there must be some incompatibility with Manager I just can’t find it due to the vague error.

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [July 2, 2019, 12:30am UTC](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815/3 "2019-07-02T00:30:10Z")

</div>

Manager does not support port 465. Use port 587.

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [July 2, 2019, 12:46am UTC](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815/4 "2019-07-02T00:46:37Z")

</div>

The latest version is making this more obvious. `Port` field is now dropdown to choose from either 25 or 587.

---

<div class="post-metadata">

**Author:** ![VISA-MC](https://avatars.discourse-cdn.com/v4/letter/v/67e7ee/32.png) [@VISA-MC](https://forum.manager.io/u/VISA-MC)\
**Post date:** [July 2, 2019, 2:39am UTC](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815/5 "2019-07-02T02:39:06Z")

</div>

I don’t understand why. Even though 465 is not RFC compliant for SSL to SMTP, that is still the recommended configuration of a TON of email servers, all of ours included.

Here is a document from Google’s gsuite saying to use 465 for SSL as well. I can use 587 with TLS but it looks like Manager doesn’t support that either.

Even the gmail guide provided makes no mention of SSL enabled.

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [July 2, 2019, 2:49am UTC](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815/6 "2019-07-02T02:49:42Z")

</div>

> [@VISA-MC](#):
>
> I don’t understand why.

Because standard libraries don’t implement it. The only way for Manager to support port 465 would be to bundle custom email component which I find unnecessary considering every SMTP server supports 587 as well.

> [@VISA-MC](#):
>
> I can use 587 with TLS but it looks like Manager doesn’t support that either.

Manager supports 587 with TLS.

---

<div class="post-metadata">

**Author:** ![VISA-MC](https://avatars.discourse-cdn.com/v4/letter/v/67e7ee/32.png) [@VISA-MC](https://forum.manager.io/u/VISA-MC)\
**Post date:** [July 2, 2019, 3:26am UTC](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815/7 "2019-07-02T03:26:01Z")

</div>

Do we just use 587 and leave SSL unchecked and it will automatically authenticate using TLS?

Our mail server accepts insecure on 587 but can be upgraded to TLS using STARTTLS, I am unsure how to do that from Manager.

---

<div class="post-metadata">

**Author:** ![roger3820](https://avatars.discourse-cdn.com/v4/letter/r/838e76/32.png) [@roger3820](https://forum.manager.io/u/roger3820)\
**Post date:** [July 2, 2019, 3:45am UTC](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815/8 "2019-07-02T03:45:12Z")

</div>

just did. but this is what i get

“The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at”

are there any other settings i missed?

trying to do the gmail one.

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [July 2, 2019, 4:06am UTC](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815/9 "2019-07-02T04:06:01Z")

</div>

> [@VISA-MC](#):
>
> Our mail server accepts insecure on 587 but can be upgraded to TLS using STARTTLS, I am unsure how to do that from Manager.

Yeah, that’s exactly how port 587 works. Download the latest version which no longer has `Use SSL` checkbox.

On the older version where `Use SSL` checkbox is present, this checkbox must be checked.

---

<div class="post-metadata">

**Author:** ![Robojock](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@Robojock](https://forum.manager.io/u/Robojock)\
**Post date:** [July 2, 2019, 4:15am UTC](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815/10 "2019-07-02T04:15:06Z")

</div>

Any tutorial on how to set this up with office365? I use office365 with my own domain name ([user@company.com](mailto:user@company.com))

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [July 2, 2019, 4:34am UTC](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815/11 "2019-07-02T04:34:51Z")

</div>

@Robojock

Can you try these settings?

Hostname: [smtp.office365.com](http://smtp.office365.com)  
Port: 587  
Username: (your Office365 username)  
Password: (your Office365 password)

---

<div class="post-metadata">

**Author:** ![Robojock](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@Robojock](https://forum.manager.io/u/Robojock)\
**Post date:** [July 2, 2019, 5:28am UTC](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815/13 "2019-07-02T05:28:06Z")

</div>

@lubos,

option 1 of this [link](https://docs.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-office-3) works only issue is that it then uses the user who was registered as the sender and reply to. This could work but then there needs to be a way to setup every registered user on manager to their own licence of office365.

option 2 works as well but the messages get flagged as spam. It mentions adding a static ip address i don’t know who’s static ip address to add there and where to get it.

 ![Capture1](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/3/2/32d3fdbcf8b313c49c3acbe9a8c58ac8e10004c7.png)

Or what do you suggest i do?

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [July 2, 2019, 5:51am UTC](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815/14 "2019-07-02T05:51:12Z")

</div>

@Robojock don’t worry about static IP address as all your emails are sent through Outlook servers. So what you need is just:

`v=spf1 include:spf.protection.outlook.com -all`

Do you know how to set up SPF record on your domain name?

---

<div class="post-metadata">

**Author:** ![Robojock](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@Robojock](https://forum.manager.io/u/Robojock)\
**Post date:** [July 2, 2019, 6:11am UTC](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815/15 "2019-07-02T06:11:17Z")

</div>

It is already included. If i use option 2 my mails go to junk/spam folder of the recipient.

 ![Capture1](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/9/2/92a11c839ecd499db24c38b1f547a40785c13e79.png)

---

<div class="post-metadata">

**Author:** ![finlander](https://avatars.discourse-cdn.com/v4/letter/f/958977/32.png) [@finlander](https://forum.manager.io/u/finlander)\
**Post date:** [July 2, 2019, 6:27am UTC](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815/16 "2019-07-02T06:27:20Z")

</div>

My business domain is hosted at Bluehost. They require port 465 for SSL/TLS or 26 (without SSL/TLS).

Will either of these ports be made available in the drop-down list box in email config in Manager? Thanks.

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [July 2, 2019, 6:33am UTC](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815/17 "2019-07-02T06:33:14Z")

</div>

@Robojock TTL is set to 1 hour. Did you wait for at least 1 hour since setting up the record to test?

@finlander Unfortunately only port 587 is supported. In this case you can sign up for free account with [mailgun.com](http://mailgun.com) or [sendgrid.com](http://sendgrid.com) and use their SMTP server. I will be publishing tutorial for both services today.

---

<div class="post-metadata">

**Author:** ![Robojock](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@Robojock](https://forum.manager.io/u/Robojock)\
**Post date:** [July 2, 2019, 6:45am UTC](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815/18 "2019-07-02T06:45:57Z")

</div>

Lubos, those records where setup about 12 hours ago.

---

<div class="post-metadata">

**Author:** ![finlander](https://avatars.discourse-cdn.com/v4/letter/f/958977/32.png) [@finlander](https://forum.manager.io/u/finlander)\
**Post date:** [July 2, 2019, 6:55am UTC](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815/19 "2019-07-02T06:55:14Z")

</div>

ugh, sendgrid might not be a viable option. The incoming mail server at Bluehost blocked the test message sent through the sendgrid SMTP relay. Other IMAP servers will surely also block sendgrid SMTP relay.

I’ll try mailgun, but they require credit card data as a way of preventing abuse of their systems (no CC charge if usage is less than 10,000 mails/month).

`550 "JunkMail rejected - o1678924164.outbound-mail.sendgrid.net [167.89.24.164]:44117 is in an RBL on rbl.unified-contact.com, see Blocked - see http://www.spamcop.net/w3m?action=checkblock&ip=167.89.24.164"`

**Update:** I’m just going to use my home ISP for now. I have 587 option with them and very low volume of emails for the foreseeable future.

---

<div class="post-metadata">

**Author:** ![PeterW59](https://avatars.discourse-cdn.com/v4/letter/p/2acd7d/32.png) [@PeterW59](https://forum.manager.io/u/PeterW59)\
**Post date:** [July 2, 2019, 7:48am UTC](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815/20 "2019-07-02T07:48:03Z")

</div>

Hostname: [smtp.office365.com](http://smtp.office365.com)  
Port: 587  
Username: (your Office365 username)  
Password: (your Office365 password)

the office365 setup as suggested by @lubos works for me. thanks

---

<div class="post-metadata">

**Author:** ![Robojock](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@Robojock](https://forum.manager.io/u/Robojock)\
**Post date:** [July 2, 2019, 8:41am UTC](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815/21 "2019-07-02T08:41:39Z")

</div>

It works yes, only if you are one user. If you are more than one user then no it is not practical. @lubos is it possible to add that every user who uses manager to add there own user name and password for the smtp? So if user “A” has a office365 license and also uses manager they can add their username and password and everytime they send a mail from manager it will be from them.

[Next page](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815.md?page=2)
