2021-02-08 20:21:52 +08:00
|
|
|
# Mainflux Email Agent
|
|
|
|
|
|
|
|
Mainflux Email Agent is used for sending emails. It wraps basic SMTP features and
|
|
|
|
provides a simple API that Mainflux services can use to send email notifications.
|
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
|
|
|
Mainflux Email Agent is configured using the following configuration parameters:
|
|
|
|
|
|
|
|
| Parameter | Description |
|
|
|
|
| ----------------------------------- | ----------------------------------------------------------------------- |
|
|
|
|
| MF_EMAIL_HOST | Mail server host |
|
|
|
|
| MF_EMAIL_PORT | Mail server port |
|
|
|
|
| MF_EMAIL_USERNAME | Mail server username |
|
2022-02-07 20:51:43 +08:00
|
|
|
| MF_EMAIL_PASSWORD | Mail server password |
|
2021-02-08 20:21:52 +08:00
|
|
|
| MF_EMAIL_FROM_ADDRESS | Email "from" address |
|
|
|
|
| MF_EMAIL_FROM_NAME | Email "from" name |
|
|
|
|
| MF_EMAIL_TEMPLATE | Email template for sending notification emails |
|
|
|
|
|
|
|
|
There are two authentication methods supported: Basic Auth and CRAM-MD5.
|
2022-02-07 20:51:43 +08:00
|
|
|
If `MF_EMAIL_USERNAME` is empty, no authentication will be used.
|