|
user.mail-password
|
| |
|
description
Mail (and set) a new password to the user.
privilege-required
anyone
tx-support
true
|
| |
|
INSTRUCTION
|
|
name
|
type
|
default-value
|
required
|
description
|
| id |
integer |
none |
true |
|
|
| |
|
PARAMETER
|
|
name
|
type
|
default-value
|
required
|
description
|
| subject |
string |
none |
false |
Subject of the mail. |
| body |
string |
none |
false |
Content of the mail. It is possible to set element 'login', 'name' and 'password' in the content.
These elements will be replaced by the appropriate value. |
|
| |
|
ERROR
|
|
|
id
|
msg
|
| 1 |
User don't have the required privilege |
|
| |
|
EXAMPLE
|
|
|
example 1
|
<nvd:command name="user.mail-password" id="{$user.id}">
<nvd:parameter name="subject">Your new pass</nvd:parameter>
<nvd:parameter name="body">Dear <name/> your account <login/> has a new password: <password/></nvd:parameter>
</nvd:command>
|
|