Skip Navigation Links.
展开 最小化

SpreadWebServcie.EmailExists Method

The following examples demonstrate how to Validate Email exists.

Parameters

Parameter

Type

Description

loginEmail

String

The login email of your Spread account.

APIKey

String

The password of your Spread account or API Key which you can retrieve from your Spread account (My account=> Settings).

accountEmail

String

The email is validated.

Return Value

True if exist. Otherwise, false.

Example

string loginEmail = "Spread@reasonables.com";

string APIKey = "Spread";

string accountEmail ="testAccount";

SpreadAPI.SpreadWebService MySpread = new SpreadAPI.SpreadWebService();

bool  result = MySpread.EmailExists (loginEmail, APIKey,accountEmail );

Dim logingEmail As String = Spread@reasonables.com

Dim APIKey As String = "spread"

Dim accountEmail As String = "testAccount"

Dim MySpread As New SpreadWS.SpreadWebService()

Dim result = MySpread.EmailExists(logingName, APIKey, accountName)

  /**
    * @name     EmailExists
    * @function Validate Email exists(This method is only for reseller.)
    * @param
    *  loginEmail     The login email of your Spread account.
    *  APIKey 	      Spread account API Key.
    *  accountEmail    New account email.
    *  @return
    *  		true if exists.Otherwise,false.
    */
    public function EmailExists($loginEmail,$APIKey,$accountEmail){
        $paraArray = array(
	            'loginEmail' 	=> $loginEmail,
	            'APIKey'     	=> $APIKey,
		    'accountEmail'     	=> $accountEmail
        );
        $Client = new SoapClient("http://service.rspread.com/Service.asmx?WSDL");
        Return $Client -> EmailExists( $paraArray );
    }
         
No sample.