package
0.23.2
Repository: https://github.com/mainfluxlabs/mainflux.git
Documentation: pkg.go.dev

# README

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:

ParameterDescription
MF_EMAIL_HOSTMail server host
MF_EMAIL_PORTMail server port
MF_EMAIL_USERNAMEMail server username
MF_EMAIL_PASSWORDMail server password
MF_EMAIL_FROM_ADDRESSEmail "from" address
MF_EMAIL_FROM_NAMEEmail "from" name
MF_EMAIL_TEMPLATEEmail template for sending notification emails

There are two authentication methods supported: Basic Auth and CRAM-MD5. If MF_EMAIL_USERNAME is empty, no authentication will be used.