Name
xmlStorageSystem.mailPasswordToUser — Mail password to user.
Synopsis
structure
xmlStorageSystem.mailPasswordToUser
(
|
in
email
string
) ; |
Description
This method is used to send the password for user identified by email. To work properly the default SMTP server Virtuoso INI file setting must be set properly.
Parameters
For user identification, this should be a valid email account.
Return Types
This method returns a structure as follows:
'flError' boolean 0 success, 1 fault 'message' string fault message (can be used to handle error cases)
Examples
Example 24.539. Mailing the XML Storage System Users Password to the User
Simple example of mailing the users password.
SQL> SOAP_CLIENT (url=>'http://example.com/xmlStorageSystem', operation=>'mailPasswordToUser', parameters=>vector ('email','user@example.domain')); SOAP response: <mailPasswordToUserResponse> <Result> <flError>1</flError> <message>Mail service is not available on that server.</message> </Result> </mailPasswordToUserResponse>
Note : in this case emailing was failed