# Discourse - SMTP from OVH

**URL:** <https://meta.discourse.org/t/discourse-smtp-from-ovh/104670>\
**Category:** Self-hosting\
**Created:** [December 19, 2018, 2:03pm UTC](https://meta.discourse.org/t/discourse-smtp-from-ovh/104670 "2018-12-19T14:03:34Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![dgtal1](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@dgtal1](https://meta.discourse.org/u/dgtal1)\
**Post date:** [January 17, 2021, 12:31pm UTC](https://meta.discourse.org/t/discourse-smtp-from-ovh/104670/12 "2021-01-17T12:31:08Z")

</div>

Did anyone succeed with OVH Email-Pro and Discourse?  
I tried these:

```
DISCOURSE_SMTP_ADDRESS: pro2.mail.ovh.net
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: admin@mydomain.com
DISCOURSE_SMTP_PASSWORD: mypassword
DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true)
DISCOURSE_SMTP_AUTHENTICATION: login # (you need to add this line)

```

But I’m getting:  
`504 5.7.4 Unrecognized authentication type`

when testing with ./discourse-doctor.

I’m using paid OVH Email-Pro account.

I’m losing faith that I’ll ever have a working Discourse install. I’ve tried numerous free email accounts and Discourse was never able to send emails with them. I even tried my own postfix, but no luck.  
Does this work only with Mailgun? ☹

---

_[View the full topic](https://meta.discourse.org/t/discourse-smtp-from-ovh/104670)._
