usercheckmail

Checks if exits a user with specified email address.

Command's fields description:

  • txtUser1 field is not used for this command.

  • txtUser2 field is not used for this command.

  • txtCommand field contains the command: “usercheckmail”.

  • txtFormat optional field specifies txtParameters and response formats. more info.

  • txtParameter field contains a structure like this:

<?xml version="1.0" encoding="utf-8" ?> 
<usercheckmail>
	<mail>pippo@pippo.com</mail>
	<time>20101025183000</time> 
</usercheckmail>
{
  "usercheckmail": {
    "mail": "pippo@pippo.com",
    "time": "20101025183000"
  }
}

 

Where

  • <mail> mandatory. E-mail address to check.

  • <time> mandatory, date and time in UTC. The accepted format is “yyyyMMddhhmmss”.

  • txtProvider field must contain the application calling ID and generated characters.

  • txtSignature field must contain the signature based on the string made of “Command Name” + “mail” + “time” + “generated character to 32”.

Looking at the previous example, the string on which calculate the check will be:
“usercheckmailpippo@pippo.com2010”


Therefore the txtProvider field will be:
“76a865d4-fab8-51cd-ba78-2da325f6955a”

Returns a structure like the following:

<?xml version="1.0" encoding="utf-8"?>
<furesult>
	<message><![CDATA[ OK ]]></message>
	<ispresent>0</ispresent>
	<username>pippo</username>
</furesult>
{
  "furesult": {
    "message": " OK ",
    "ispresent": "0",
    "username": "pippo"
  }
}

 

Where

  • <message> contains OK or Error description
  • <ispresent> can be:
    • 0 (zero) mail address does not exist
    • 1 (one) mail address exists but the corresponding user has not been activated
    • 2 (two) mail address exists and the corresponding user has been activated
    • 3 (three) mail address exists, the corresponding user has been activated but also blocked because of too many attempts to login with wrong password
  • <username> if mail address exists, this contain the user's username

If MyWakes server returns an error, the format of this answer is described in the error section.

Terms Of Use | Privacy Statement | Company info
  • © Cedac Sistemi srl
  • Head office: Via Toscana, 3 40035 Castiglione dei Pepoli (Italy) Tel.: +39 0534-93811 Fax: +39 0534-93899
  • Branch office: Via del Lavoro, 47 40033 Casalecchio di Reno (Italy)
  • Branch office: Via Parini, 1 40033 Casalecchio di Reno (Italy)
  • Share capital Euro 26,000.00 - Company Register of Bologna / VAT no / fiscal code 01695261204