# How do I re-enable email and logging into my account after restoring backup?

**URL:** <https://meta.discourse.org/t/how-do-i-re-enable-email-and-logging-into-my-account-after-restoring-backup/48627>\
**Category:** Product Support\
**Created:** [2016 年8 月 14 日 20:39 UTC](https://meta.discourse.org/t/how-do-i-re-enable-email-and-logging-into-my-account-after-restoring-backup/48627 "2016-08-14T20:39:47Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![tuttle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tuttle/32/34114_2.png) [@tuttle](https://meta.discourse.org/u/tuttle)\
发布日期： [2016 年12 月 16 日 13:01 UTC](https://meta.discourse.org/t/how-do-i-re-enable-email-and-logging-into-my-account-after-restoring-backup/48627/4 "2016-12-16T13:01:06Z")

</div>

Hi,

I’ve just moved Discourse to a new server and restored from a backup. Same version of Discourse on both server. Send test email works. “Prevent Discourse from sending any kind of emails” is deactivated but I still get the warning  
“All outgoing email has been globally disabled by an administrator. No email notifications of any kind will be sent.”

> [@codinghorror](#):
>
> You will need to SSH in and turn on email via ruby command line

What command is that?  
Thanks.

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-re-enable-email-and-logging-into-my-account-after-restoring-backup/48627)._
