E-mail notification configuraiton |
The mail notification feature is provided by SuperMap iPortal to obtain the results of a user registration audit. The mail notification function is used in conjunction with the user registration and audit function. If you have turned on the user registration and audit function, and configured the user registration mailbox, turned on the mail notification function, then you need to configure the mail server. If all the above aspects have been configured, users will be prompted that their registration is waiting for audit. Moreover, users will be notified whether their registration is passed or rejected. Registered users need to be approved by an administrator.
Log into Home->Manage->Site Configuration->Online Mapping as an administrator, click the Mail Notification tab.
After the above configuration, you can click the "Verify validity" button. If the configuration is valid, the system will send to the sender's mailbox a message to test validity, and give the message: "Verification success". You can then click the "Save" button.
The content of the validity test email sent by iPortal SMTP Server and audit results sent to the registered users by iPortal can be customized.
Chinese and English templates are offered. zh_CN.ftl is Chinese template and *.ftl is English template. iPortal will automatically select the corresponding language mail template according to the system locale of the server.
You can customize the email content by customizing the template file.
Copy userAuditResultEmail_zh_CN.ftl (userAuditResultEmail.ftl) and smtpValidCheckEmail_zh_CN.ftl (smtpValidCheckEmail.ftl) in [SuperMap iPortal installation directory]\webapps\iportal\WEB-INF\lib\iportal-all-*.jar\templates to [SuperMap iPortal installation directory]\webapps\iportal\WEB-INF\classes\templates (if classes\templates not exists, please ceate one manually).
Where the <title> label indicates the subject of the message, the <body> label indicates the content of the email. You can modify it based on the actual requirements.