# Emailing Error

**URL:** <https://forum.manager.io/t/emailing-error/22809>\
**Category:** Uncategorized\
**Created:** [July 1, 2019, 1:07pm UTC](https://forum.manager.io/t/emailing-error/22809 "2019-07-01T13:07:36Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Arthur](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/daniel_arthur/32/15160_2.png) [@Daniel\_Arthur](https://forum.manager.io/u/Daniel_Arthur)\
**Post date:** [July 1, 2019, 1:07pm UTC](https://forum.manager.io/t/emailing-error/22809/1 "2019-07-01T13:07:36Z")

</div>

Having this error when sending email from manager with a receipt attachment:

```
System.Net.Mail.SmtpException: System.Net.Mail.SmtpException: Syntax error, command unrecognized. The server response was: 5.7.0 Mailgun is not loving your login or password
at System.Net.Mail.RecipientCommand.CheckResponse(SmtpStatusCode statusCode, String response)
at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at ManagerServer.HttpHandlers.Businesses.Business.Email.Post()

```

@lubos kindly assist. Am using server edition version 19.6.64 on windows 8.1. I’ve tried doing same on desktop edition same version, the problem still exists. Thank you.

---

<div class="post-metadata">

**Author:** ![Eliz](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/eliz/32/19774_2.png) [@Eliz](https://forum.manager.io/u/Eliz)\
**Post date:** [July 1, 2019, 1:11pm UTC](https://forum.manager.io/t/emailing-error/22809/2 "2019-07-01T13:11:53Z")

</div>

I am also receiving this error, on Cloud edition. I tried emailing statements. After receiving error message, I attempted several test emails to different addresses, and using different customer statements. It doesn’t appear to be a problem with my own email or my own network connection.

Please advise.  
Thank you,

Liz

---

<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, 1:17pm UTC](https://forum.manager.io/t/emailing-error/22809/3 "2019-07-01T13:17:52Z")

</div>

Our email provider Mailgun has shut down our SMTP account without notice which means emails from Manager only work for those who have set up custom SMTP server.

I’m currently trying to resolve this issue with Mailgun.

---

<div class="post-metadata">

**Author:** ![Daniel\_Arthur](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/daniel_arthur/32/15160_2.png) [@Daniel\_Arthur](https://forum.manager.io/u/Daniel_Arthur)\
**Post date:** [July 1, 2019, 1:22pm UTC](https://forum.manager.io/t/emailing-error/22809/4 "2019-07-01T13:22:54Z")

</div>

O ok. Thank you and keep us updated when it’s resolved.

---

<div class="post-metadata">

**Author:** ![elreng33](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/elreng33/32/29418_2.png) [@elreng33](https://forum.manager.io/u/elreng33)\
**Post date:** [July 1, 2019, 4:19pm UTC](https://forum.manager.io/t/emailing-error/22809/5 "2019-07-01T16:19:34Z")

</div>

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

---

<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 1, 2019, 9:57pm UTC](https://forum.manager.io/t/emailing-error/22809/6 "2019-07-01T21:57:14Z")

</div>

Can you tell us where to find more details on setting up custom SMTP? I have the same exact settings in our other software and verified the password but when I test the settings in Manager, I only get a message saying message could not be sent. It doesn’t give me any direction as to what errored out.

Any help here is greatly appreciated as it is the first of the month and all of my recurring monthly invoices need to be sent out.

---

<div class="post-metadata">

**Author:** ![Daniel\_Arthur](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/daniel_arthur/32/15160_2.png) [@Daniel\_Arthur](https://forum.manager.io/u/Daniel_Arthur)\
**Post date:** [July 1, 2019, 10:16pm UTC](https://forum.manager.io/t/emailing-error/22809/7 "2019-07-01T22:16:04Z")

</div>

> [@VISA-MC](#):
>
> Can you tell us where to find more details on setting up custom SMTP?

Kindly follow link for guide [https://www.manager.io/guides/10643](https://www.manager.io/guides/10643)

---

<div class="post-metadata">

**Author:** ![Daniel\_Arthur](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/daniel_arthur/32/15160_2.png) [@Daniel\_Arthur](https://forum.manager.io/u/Daniel_Arthur)\
**Post date:** [July 1, 2019, 10:27pm UTC](https://forum.manager.io/t/emailing-error/22809/8 "2019-07-01T22:27:16Z")

</div>

However, I got some challenges while setting up custom smtp using my gmail account. I will share for all to benefit. After I had filled in all the details: host ie **[smtp.gmail.com](http://smtp.gmail.com)** and port **587** and typed my email address and password, I still could not get the test successful. After some research I got to know some security settings in Gmail was not allowing an unknown app(manager) to access my gmail account. So I set my Gmail account to accept connection from unknown Apps and that worked. Now I am able to send emails through manager.

---

<div class="post-metadata">

**Author:** ![ries](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ries/32/8988_2.png) [@ries](https://forum.manager.io/u/ries)\
**Post date:** [July 1, 2019, 10:29pm UTC](https://forum.manager.io/t/emailing-error/22809/9 "2019-07-01T22:29:56Z")

</div>

It would be helpfull if you can give us the emailaddress you use for sending the invoices.  
If you use Gmail you also may have to change settings in your Gmail account.  
(You have to activate Two Step Verification ([Authentication Tools for Secure Sign In - Google Safety Center](https://www.google.com/landing/2step/)) in order to make it possible to allow an unkown app to access your Gmail account).  
If you use your own emailaddress you must know the SMTP server 's name and portnumber. Often to be found when you google “SMTP server” + [the name of your provider].

---

<div class="post-metadata">

**Author:** ![Daniel\_Arthur](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/daniel_arthur/32/15160_2.png) [@Daniel\_Arthur](https://forum.manager.io/u/Daniel_Arthur)\
**Post date:** [July 1, 2019, 10:44pm UTC](https://forum.manager.io/t/emailing-error/22809/10 "2019-07-01T22:44:21Z")

</div>

> [@ries](#):
>
> If you use your own emailaddress you must know the SMTP server 's name and portnumber.

I used my own Gmail address and I gave the smtp host/server name and port number in my previous post.

---

<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, 10:49pm UTC](https://forum.manager.io/t/emailing-error/22809/11 "2019-07-01T22:49:45Z")

</div>

I’m closing this topic. There is new one.

> [@For sending emails, custom SMTP now required](https://forum.manager.io/t/for-sending-emails-custom-smtp-now-required/22815):
>
> 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 ac…

---

<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, 10:49pm UTC](https://forum.manager.io/t/emailing-error/22809/12 "2019-07-01T22:49:48Z")

</div>

Closed on July 1, 2019, 10:49pm UTC


