Hi,
I have recently started using Grav for one of my websites.
I would like to know if it is possible to get an email notification once the admin adds a user from within the admin section.
There is no generic user registration though.
Email.yaml -
enabled: true
from: admin@domain.com
to: admin@domain.com
mailer:
engine: smtp
smtp:
server: domain.com
port: 465
encryption: ssl
user: admin@domain.com
password: password
sendmail:
bin: '/usr/sbin/sendmail -t'
content_type: text/html
debug: true
cc: admin@domain.com
bcc: admin@domain.com
reply_to: admin@domain.com
body: Test
Login.yaml -
enabled: true
built_in_css: true
redirect_to_login: false
redirect_after_login: false
redirect_after_logout: true
session_user_sync: false
route: /login
route_after_login: /
route_after_logout: /
route_activate: /activate_user
route_forgot: /forgot_password
route_reset: /reset_password
route_profile: /user_profile
route_register: /user_register
route_unauthorized: /user_unauthorized
twofa_enabled: false
dynamic_page_visibility: false
parent_acl: false
protect_protected_page_media: false
rememberme:
enabled: true
timeout: 604800
name: grav-rememberme
max_pw_resets_count: 2
max_pw_resets_interval: 60
max_login_count: 5
max_login_interval: 10
ipv6_subnet_size: 64
user_registration:
enabled: true
fields:
- username
- password
- email
- fullname
- title
- level
- twofa_enabled
default_values:
level: Newbie
access:
site:
login: 'true'
redirect_after_registration: null
redirect_after_activation: null
options:
validate_password1_and_password2: true
set_user_disabled: true
login_after_registration: false
send_activation_email: true
manually_enable: true
send_notification_email: true
send_welcome_email: true
I have tried Sendmail and SMPT options, but for some reason the user or I (as an admin) are not receiving any notification email. I am adding the user from the admin section.
I have also turned on the logs for email but there is no entry.
Please suggest.
Thank you.