I’m currently exploring the Smart City demo project provided by OpenRemote, and I’m trying to figure out how to send email notifications in Rules
I’ve checked the rules engine and the notification settings, but I’m not quite sure how to configure or test email sending correctly. Could someone guide me through the steps or share an example of how to do this?
Any help would be greatly appreciated. Thanks in advance!
I think, on demo.openremote.app, we’ve disabled email notifications to prevent abuse.
You’re setting up OpenRemote locally.
When deploying it yourself, you need to configure a mail server for sending emails.
This can be done using environment variables;
# Configure Email, SMTP server to send password reset emails etc.
OR_EMAIL_HOST:
OR_EMAIL_USER:
OR_EMAIL_PASSWORD:
OR_EMAIL_PORT:
OR_EMAIL_TLS:
# Where to send admin emails to
OR_EMAIL_ADMIN:
# From address for emails sent by the system
OR_EMAIL_FROM:
# Optional oAuth2 configuration to use instead of username/password
OR_EMAIL_OAUTH2_URL: # url to request an access token
OR_EMAIL_OAUTH2_CLIENT_ID:
OR_EMAIL_OAUTH2_CLIENT_SECRET:
.
Let’s continue the conversation in the other thread you created;