-
-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AUTH_EMAIL_FROM does not support 'noreply <[email protected]>' configuration #1735
Comments
You need to use - [email protected]
- NOTIFY_USERS=email
- NOTIFY_ADMINS=email
- SMTP_TLS=true
- SMTP_HOST=smtp.sendgrid.net
- SMTP_PORT=465
- SMTP_USERNAME=apikey
- SMTP_PASSWORD=secret_password
- AUTH_EMAIL_FROM="My auth system notification using SendGrid"<[email protected]>
- NOTIFY_EMAIL_FROM="My notification system using SendGrid"<[email protected]> It looks like that in the Gmail: Resolving: feel free to reopen if I'm wrong, and that's different from what you are looking for. |
My remark42 is running on fly.io, fly.io environment variable configuration [env]
AUTH_EMAIL_ENABLE = 'true'
AUTH_EMAIL_FROM = '[email protected]'
# I tried the following configuration, but got the same error.
# fly.io configuration requires that the value of the variable needs quotes
# AUTH_EMAIL_FROM = 'Notify <[email protected]>'
# AUTH_EMAIL_FROM = 'Notify<[email protected]>'
# AUTH_EMAIL_FROM = '"Notify"<[email protected]>' I used an old version before without this problem, but I can't remember the version number |
Can you please try the |
The issue originated from a modification in fly.io's configuration file format, which introduced a requirement for environment variable values to be enclosed in quotes. As a result, I couldn't transfer the environment variable in the format My attempt to conform to fly.io's format by passing |
I can't reproduce it, unfortunately. My config: [env]
AUTH_EMAIL_FROM = '"My auth system notification using SendGrid"<[email protected]>'
What is the output of |
My config: app = 'rawlab-comments'
primary_region = 'nrt'
kill_signal = 'SIGINT'
kill_timeout = '10s'
console_command = '/bin/sh'
[experimental]
auto_rollback = true
[build]
image = 'umputun/remark42:master'
[env]
ADMIN_SHARED_ID = 'github_a0d8d890470be032928ee4faf4a4e67bc5e3e755'
AUTH_EMAIL_ENABLE = 'true'
AUTH_EMAIL_FROM = '"Noreply RawLab"<[email protected]>'
AUTH_EMAIL_SUBJ = 'Email verification'
AUTH_TELEGRAM = 'true'
DEBUG = 'false'
EMOJI = 'true'
NOTIFY_ADMINS = 'telegram'
NOTIFY_USERS = 'telegram,email'
REMARK_PORT = '8080'
REMARK_URL = 'https://cm.rawlab.net'
SITE = 'RawLab'
TIME_ZONE = 'Asia/Shanghai'
[[mounts]]
source = 'remark42_data'
destination = '/srv/var'
initial_size = '1GB'
[http_service]
internal_port = 8080
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 1
processes = ['app']
[[http_service.checks]]
interval = '30s'
timeout = '5s'
grace_period = '10s'
method = 'GET'
path = '/ping'
[[services]]
protocol = 'tcp'
internal_port = 8080
processes = ['app']
[[services.ports]]
port = 80
handlers = ['http']
[[services.ports]]
port = 443
handlers = ['tls', 'http']
[services.ports.http_options]
[services.ports.http_options.response]
[services.ports.http_options.response.headers]
Access-Control-Allow-Origin = '*'
App-Name = false
App-Version = false
Autho = false
[[vm]]
cpu_kind = 'shared'
cpus = 1
memory_mb = 256 Console: > flyctl ssh console
Connecting to fdaa:1:140d:a7b:22f:5db0:78b8:2... complete
91852e3ea5de38:/srv# env | grep AUTH_EMAIL_FROM
AUTH_EMAIL_FROM="Noreply RawLab"<[email protected]>
91852e3ea5de38:/srv# |
The text was updated successfully, but these errors were encountered: