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.
This method returns a structure as follows:
'flError' boolean 0 success, 1 fault 'message' string fault message (can be used to handle error cases)
Simple example of mailing the users password.
SQL> SOAP_CLIENT (url=>'http://localhost:6666/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