Package com.bitheads.braincloud.services
Class MailService
java.lang.Object
com.bitheads.braincloud.services.MailService
public class MailService extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMailService.Parameter -
Constructor Summary
Constructors Constructor Description MailService(BrainCloudClient client) -
Method Summary
Modifier and Type Method Description voidsendAdvancedEmail(String profileId, String jsonServiceParams, IServerCallback callback)Sends an advanced email to the specified player Service Name - mail Service Operation - SEND_ADVANCED_EMAILvoidsendAdvancedEmailByAddress(String emailAddress, String jsonServiceParams, IServerCallback callback)Sends an advanced email to the specified email address Service Name - mail Service Operation - SEND_ADVANCED_EMAIL_BY_ADDRESSvoidsendBasicEmail(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
-
Constructor Details
-
MailService
-
-
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 tosubject- The email subjectbody- The email bodycallback- 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 tojsonServiceParams- Parameters to send to the email service. See the documentation for a full list. http://getbraincloud.com/apidocs/apiref/#capi-mailcallback- 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 tojsonServiceParams- Parameters to send to the email service. See the documentation for a full list. http://getbraincloud.com/apidocs/apiref/#capi-mailcallback- The method to be invoked when the server response is received
-