# 500 5.5.1 Invalid command: Cannot send mail with Discourse on new install but can from command line (on digital ocean)

**URL:** <https://meta.discourse.org/t/500-5-5-1-invalid-command-cannot-send-mail-with-discourse-on-new-install-but-can-from-command-line-on-digital-ocean/147546>\
**Category:** Self-hosting\
**Created:** [10 באפריל,‏ 2020,‏ 1:08pm UTC](https://meta.discourse.org/t/500-5-5-1-invalid-command-cannot-send-mail-with-discourse-on-new-install-but-can-from-command-line-on-digital-ocean/147546 "2020-04-10T13:08:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)\
**Post date:** [10 באפריל,‏ 2020,‏ 1:13pm UTC](https://meta.discourse.org/t/500-5-5-1-invalid-command-cannot-send-mail-with-discourse-on-new-install-but-can-from-command-line-on-digital-ocean/147546/2 "2020-04-10T13:13:58Z")

</div>

is `forum@jamaicans.dev` a valid email Address?  
Are you using a custom SMTP?

---

_[View the full topic](https://meta.discourse.org/t/500-5-5-1-invalid-command-cannot-send-mail-with-discourse-on-new-install-but-can-from-command-line-on-digital-ocean/147546)._
