Skip to main content
Version: 5.7.0

SendBasicEmail

Sends a simple text email to the specified user.

ServiceOperation
mailSEND_BASIC_EMAIL

Method Parameters

ParameterDescription
profileIdThe user to send the email to
subjectThe email subject
bodyThe email body

Usage

http://localhost:3000
string profileId = "f7144cc0-b996-440f-8459-21b0ecb91a10";
string subject = "Basic email subject";
string body = "This is the body of the email";
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.MailService.SendBasicEmail(profileId, subject, body, successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": {}
}