# Breaking change on mailer configuration in Joplin Server 2.7

**URL:** <https://discourse.joplinapp.org/t/breaking-change-on-mailer-configuration-in-joplin-server-2-7/23464>\
**Category:** News\
**Created:** [2 February 2022 19:33 UTC](https://discourse.joplinapp.org/t/breaking-change-on-mailer-configuration-in-joplin-server-2-7/23464 "2022-02-02T19:33:48Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![dpoulton](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/dpoulton/32/29723_2.png) [@dpoulton](https://discourse.joplinapp.org/u/dpoulton)\
**Post date:** [4 February 2022 11:10 UTC](https://discourse.joplinapp.org/t/breaking-change-on-mailer-configuration-in-joplin-server-2-7/23464/13 "2022-02-04T11:10:37Z")

</div>

@cottage45

There are some **.env** settings that are pretty much only useful if you are managing multiple users or Joplin Cloud itself. The only reason I ever turned some of them on was for beta testing before Joplin Cloud went live.

There is [a thread](https://discourse.joplinapp.org/t/joplin-server-2-2-6-email-settings/18608) which has some discusssion about the mail server and makes reference to the [**config.ts** file](https://github.com/laurent22/joplin/blob/67a000add903fc9d0329dc5388564e28f463898a/packages/server/src/config.ts#L7) which shows a list of **.env** variables that can be used. Note that this is an older version of the file and makes reference to `MAILER_SECURE` which has been replaced by `MAILER_SECURITY`.

Some of the **.env** variables are:

`MAILER_ENABLED=` Enables the mailing system - **1** is ON **0** is OFF  
`MAILER_HOST=` SMTP server address  
`MAILER_PORT=` SMTP server port  
`MAILER_SECURITY=` SMTP server security method - **none** or **tls** or **starttls** (Server 2.7.4 and above)  
`MAILER_AUTH_USER=` Login username for the SMTP server  
`MAILER_AUTH_PASSWORD=` Login password for the SMTP server  
`MAILER_NOREPLY_NAME=` Display name for mail sent by the server  
`MAILER_NOREPLY_EMAIL=` Sender email address for mail sent by the server  
`SIGNUP_ENABLED=` Enables site visitors to sign up from the server login page - **1** is ON **0** is OFF (I have not used this since before Joplin Cloud went "Live")  
`TERMS_ENABLED=` Enables the login page terms and conditions link - **1** is ON **0** is OFF (I have not used this as anything other than "OFF" since before Joplin Cloud went "Live")  
`ACCOUNT_TYPES_ENABLED=` Enables the admin to set user accounts as **Default** , **Basic** or **Pro** with their associated usage limits / sharing features - **1** is ON **0** is OFF

There are some others such as `USER_CONTENT_BASE_URL=` but the last time I looked at a more recent version of the **config.ts** file this was commented as not being in use. Others appear to be specifically Joplin Cloud related.

---

_[View the full topic](https://discourse.joplinapp.org/t/breaking-change-on-mailer-configuration-in-joplin-server-2-7/23464)._
