email

Message

Opens the email client with the passed parameters to send an email message.

$m.email(["somebody@abc.com"], "Welcome Aboard", "We are looking forward!!!");

Syntax

$m.email(toList, subject, body[, ccList ,bccList])

Parameters

toList

array (required)

Array of email addresses to whom the message must be addressed.

subject

string(required)

The subject of email message.

body

string(required)

The body of email message.

ccList

array (optional)

Array of email addresses to whom the message must be delivered as CC.

bccList

array (optional)

 Array of email addresses to whom the message must be delivered as BCC.