Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages

sendTestEmail method

Вы здесь:

It is a method to send a test email message. You can only send an email that has already been created (e.g., using the createEmailMessage method). You can send it to several addresses separated by commas.

Principle of use

Syntax and URL to call the method
sendTestEmail (string api_key, string format, int id, string email),EMAIL_RECIPIENT2
api_key * API access key.
email * Message recipient’s address. You can send message to several addresses separated by commas.
id * Identifier for the previously created email. (E.g., using the createEmailMessage method).
format Display format. It obtains values of html | json, json is set by default (the html format is intended only for visual viewing of the result, the parser will not work in this format).
Return value
Example of the return value if request is successful:

   'message': 'Test letter id:'10' was sent, to '''

Example of the returned value in the event of an error:

    "error": "ZS140529-01 [E-mail '' has not been verified yet]",
    "code": "unspecified"
Оцените, на сколько вам показалась полезной статья «sendTestEmail method»