UserAdmin SMTP User Create Properties

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:

<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>

The IP or DNS address of the user admin server. Example is 10.1.1.100

No default value – must not be empty

smtp.createnotify.from

<From email address>

The email address that will be presented and used as the "from" address in the send mail. Also used as the identifying account towards the SMTP server.

No default value – must not be empty

smtp.createnotify.from

<To email address>

The email address that will receive an email about the users that are created.

No default value – must not be empty

smtp.createnotify.subject

<Subject line>

The mail subject line.

Default value is "New user is created"

smtp.createnotify.message

<Email message before user info>

The email message body

Default value is "A new user has been created with the following information."

smtp.createnotify.timeout

<Timeout value>

The socket timeout towards the SMTP server in milli seconds

Default value is 5000

smtp.createnotify.doauth

<true | false>

Do simple plain SMTP authentication

Default value is "false"

smtp.createnotify.userid

<login user id>

The user id for plain SMTP authentication if enabled.

Default value is empty – must be set to allow for authentication

smtp.createnotify.password

<login account password>

The password for plain SMTP authentication if enabled. Passwords can be encrypted or encoded with normal PortalProtect Password encryption methods. It can also just be plain text.

Default value is empty – must be set to allow for authentication

© Ceptor ApS. All Rights Reserved.