implemented the E-mail sending functionality

This commit is contained in:
2025-10-01 16:41:57 -06:00
parent 1633492f29
commit 2acac513f8
10 changed files with 449 additions and 23 deletions
+13
View File
@@ -0,0 +1,13 @@
{{ .SetSubject("Amsterdam Email Confirmation") }}
Welcome to the Amsterdam conferencing system! In order to fully activate your
account after you register or change your E-mail address, you must provide a
confirmation number to the system. Please enter this number into the "Confirm
E-mail Address" dialog on the system when indicated.
Your confirmation number for your account "{{ username }}" is {{ confnum }}.
Access the E-mail verification dialog at <http://example.com/verifyemail>.
Thank you, and enjoy the Amsterdam conferencing system!
- The Management
+12
View File
@@ -0,0 +1,12 @@
{{ .SetSubject("Amsterdam Password Changed") }}
The password for your account "{{ username }}" has been changed. The new
password is "{{ password }}".
You should log into Amsterdam immediately and change the password to something
else. You can change the password for your account, once you are logged in,
by clicking on the "Profile" link in the top bar.
If you did NOT request a password change on your account, please notify the
system administrator IMMEDIATELY.
- The Management
+20
View File
@@ -0,0 +1,20 @@
{{ .SetSubject("Amsterdam Password Reminder Message") }}
Here is the password reminder for your account "{{ username }}" as you requested:
{{ reminder }}
If this reminder is not sufficient for you to remember what your password is,
then the system can change your password for you. To do so, please visit
the following URL:
http://example.com/passrecovery/{{ change_uid }}.{{ change.auth }}
Your password will be changed and a new password will be E-mailed to you
at this address.
If you did NOT request a password reminder, then this message was sent
by someone attempting to access your account without your knowledge. Do
not panic! Nothing has happened to your account or password yet, but
please do notify the system administrator.
- The Management