2018-02-04 23:05:44 +00:00
|
|
|
---
|
|
|
|
layout: page
|
|
|
|
title: Email
|
|
|
|
---
|
|
|
|
ENiGMA½ uses email to send password reset information to users. For it to work, you need to provide valid SMTP
|
|
|
|
config in your [config.hjson]({{ site.baseurl }}{% link configuration/config-hjson.md %})
|
|
|
|
|
|
|
|
## SMTP Services
|
|
|
|
|
|
|
|
If you don't have an SMTP server to send from, [Sendgrid](https://sendgrid.com/) provide a reliable free
|
|
|
|
service.
|
|
|
|
|
|
|
|
## Example SMTP Configuration
|
|
|
|
|
|
|
|
```hjson
|
|
|
|
email: {
|
2018-02-04 23:08:32 +00:00
|
|
|
defaultFrom: sysop@bbs.awesome.com
|
2018-02-04 23:05:44 +00:00
|
|
|
|
|
|
|
transport: {
|
|
|
|
host: smtp.awesomeserver.com
|
|
|
|
port: 587
|
|
|
|
secure: false
|
|
|
|
auth: {
|
|
|
|
user: leisuresuitlarry
|
|
|
|
pass: sierra123
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-03-30 04:52:30 +00:00
|
|
|
```
|