# 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:** 21

<div class="post-metadata">

**Author:** ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)\
**Post date:** [March 8, 2021, 10:46pm UTC](https://meta.discourse.org/t/discourse-smtp-from-ovh/104670/21 "2021-03-08T22:46:10Z")

</div>

It’s been a while but I just made a forum with email pro from ovh and it works, with a pro2 smtp server. I imagine this it too late, but it can help others.

Here is a little guide :

- When you associate your domain, make sure to select the second option :  

- In the settings, we were on the right track  
`DISCOURSE_SMTP_ADDRESS: pro2.mail.ovh.net`  
`DISCOURSE_SMTP_PORT: 587`  
`DISCOURSE_SMTP_USER_NAME: name@domain.com`  
`DISCOURSE_SMTP_PASSWORD: ""`  
`DISCOURSE_SMTP_ENABLE_START_TLS: true`  
`DISCOURSE_SMTP_AUTHENTICATION: login`

- I still had some issues.  
In (forum)/admin/email/skipped  
I noticed an error : `550 5.7.60 SMTP; Client does not have permissions to send as this sender`

- I double checked the setting `notification email` and bingo, it wasn’t the same as the email I set up in the app.yml (it automatically set up a `noreply@domain.com` instead of the email I’ve used.  
So make sure the email set in `DISCOURSE_SMTP_USER_NAME` and `notification email` admin setting are the same, and it should work.

---

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