www.openlinksw.com
docs.openlinksw.com

Book Home

Contents
Preface

Virtuoso Functions Guide

Administration
Aggregate Functions
Array Manipulation
BPEL APIs
Backup
Compression
Cursor
Date & Time Manipulation
Debug
Dictionary Manipulation
Encoding & Decoding
File Manipulation
Free Text
Hashing / Cryptographic
LDAP
Locale
Mail
Miscellaneous
Number
Phrases
RDF data
Remote SQL Data Source
Replication
SOAP
SQL
String
Transaction
Type Mapping
UDDI
User Defined Types & The CLR
VAD
Virtuoso Java PL API
Virtuoso Server Extension Interface (VSEI)
Web & Internet
XML
XPATH & XQUERY

Functions Index

xmlStorageSystem.mailPasswordToUser

Mail password to user.
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
email – 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
Mailing the XML Storage System Users Password to the User

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

See Also

xmlStorageSystem.registerUser()

xmlStorageSystem.getServerCapabilities()

xmlStorageSystem.deleteMultipleFiles()

xmlStorageSystem.saveMultipleFiles()