This plugin can be configured through the user.precreate or the user.postcreate property on the user administration server. It will result in an email being sent when a user is created through the user administration server.
This plugin will read these properties from the user administration server. A sample set of properties could be like this: <property
Code Block | ||
---|---|---|
| ||
<group name="user create SMTP" description="SMTP config for user creation"> <property name="user.postcreate" value="dk.itp.portalprotect.useradmin.server.SMTPNotifyUserCreationPlugin" description="The plugin called after a new user is created"/> |
...
<property name="smtp.createnotify.server" value="mysmtp.mydomain" description=""/> |
...
<property name="smtp.createnotify.from" value="noreply@mydomain.stuff" description=""/> |
...
<property name="smtp.createnotify.to" value="saledforce@mydomain.stuff" description=""/> |
...
<property name="smtp.createnotify.subject" value="New user have been created" description=""/> |
...
<property name="smtp.createnotify.message" value="A new user was created on our website." description=""/> |
...
<property name="smtp.createnotify.timeout" value="5000" description=""/> |
...
<property name="smtp.createnotify.doauth" value="true" description=""/> |
...
<property name="smtp.createnotify.userid" value="user" description=""/> |
...
<property name="smtp.createnotify.password" value="{encoded}kjnskhwiuvhweh" description=""/> |
...
</ |
...
group> |
Property | Value |
---|---|
smtp.createnotify.server | <SMTP server address> |
smtp.createnotify.from | <From email address> |
smtp.createnotify.from | <To email address> |
smtp.createnotify.subject | <Subject line> |
smtp.createnotify.message | <Email message before user info> |
smtp.createnotify.timeout | <Timeout value> |
smtp.createnotify.doauth | <true |
| false> | |
smtp.createnotify.userid | <login user id> |
smtp.createnotify.password | <login account password> |
...