com.appcelerator.aps
Class APSEmails

java.lang.Object
  extended by com.appcelerator.aps.APSEmails

public class APSEmails
extends java.lang.Object

The Emails API lets you send custom emails to your users. For more details about the underlying REST object, see the ACS API Docs.


Constructor Summary
APSEmails()
           
 
Method Summary
static void send(java.util.Map<java.lang.String,java.lang.Object> data, APSResponseHandler handler)
          Sends an email to a list of email addresses from your App.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

APSEmails

public APSEmails()
Method Detail

send

public static void send(java.util.Map<java.lang.String,java.lang.Object> data,
                        APSResponseHandler handler)
                 throws APSCloudException
Sends an email to a list of email addresses from your App.

For more details about the underlying REST method, see the ACS API Docs.

Parameters:
data - Method parameters specified as a Map with the following key-value pairs:
  • template (String): Name of the email template you have created. (required)
  • recipients (String): Comma separated list of email addresses. (required)
  • from (String): The sender's email address.
handler - Callback to handle the server response.
Throws:
APSCloudException