FM_WelcomeEmail
Overview
FM_WelcomeEmail is a FiLMS module that send an email to the user when his / her user profile is created.
Pre-Requisites
E-mail User Detail Field
Email Templates module required
Installation
Usage
Welcome Email(s) will be deleted if:
organization(s) associated with it is deleted
e-mail detail field associated with it is deleted
Welcome Email(s) will be sent if:
Both Username and Password is changed.
the e-mail user detail field is filled in for the first time (e.g. new user registration).
Welcome Email (that is associated with the organization the user is in) will be sent to him/her through his/her e-mail (from E-mail user detail field).
Limitation
N/A
FAQ / Troubleshooting
If the Welcome Email is not sent, check if:
Welcome Email has the correct organization, email template and email detail field, associated to it
that user has his / her e-mail detail field filled in. If there's no e-mail user detail field, create one
The "from address" field has been set to a valid e-mail address
Mailgun has a log of it (only if FiLMS mail server is set to Mailgun in FiLMS configuration file)
Installation & Configuration
Installation
This module is needed to be installed non-globally. Additionally FM_EmailTemplates must be installed beforehand.
Installing this module will:
create a DB table 'fm_welcome_emails'
create the following security functions:
FmWelcomeEmail - Add
FmWelcomeEmail - List
FmWelcomeEmail - View
FmWelcomeEmail - Edit
FmWelcomeEmail - Delete
Module uninstallation will remove DB table along with the security functions.
Which FiLMS instances have Welcome Emails?
SELECT *
FROM INFORMATION_SCHEMA.TABLES
WHERE table_name = 'fm_welcome_emails'
AND table_schema NOT LIKE '%schema'
AND TABLE_ROWS > 0;