Class MailService

java.lang.Object
com.bitheads.braincloud.services.MailService

public class MailService
extends Object
  • Constructor Details

  • Method Details

    • sendBasicEmail

      public void sendBasicEmail​(String profileId, String subject, String body, IServerCallback callback)
      Sends a simple text email to the specified player Service Name - mail Service Operation - SEND_BASIC_EMAIL
      Parameters:
      profileId - The user to send the email to
      subject - The email subject
      body - The email body
      callback - The method to be invoked when the server response is received
    • sendAdvancedEmail

      public void sendAdvancedEmail​(String profileId, String jsonServiceParams, IServerCallback callback)
      Sends an advanced email to the specified player Service Name - mail Service Operation - SEND_ADVANCED_EMAIL
      Parameters:
      profileId - The user to send the email to
      jsonServiceParams - Parameters to send to the email service. See the documentation for a full list. http://getbraincloud.com/apidocs/apiref/#capi-mail
      callback - The method to be invoked when the server response is received
    • sendAdvancedEmailByAddress

      public void sendAdvancedEmailByAddress​(String emailAddress, String jsonServiceParams, IServerCallback callback)
      Sends an advanced email to the specified email address Service Name - mail Service Operation - SEND_ADVANCED_EMAIL_BY_ADDRESS
      Parameters:
      emailAddress - The address to send the email to
      jsonServiceParams - Parameters to send to the email service. See the documentation for a full list. http://getbraincloud.com/apidocs/apiref/#capi-mail
      callback - The method to be invoked when the server response is received