sendEmail Method

This method will open an email view to send an email without exiting the application

intel.xdk.device.sendEmail(bodyText, toString, subjectText, isHTML, ccString, bccString);

Platforms:

Parameters:

  • bodyText: This mandatory parameter includes the body of the email to send
  • toString: Comma separated string of email addresses to send email to
  • subjectText: Content of the email subject line
  • isHTML: A boolean value indicating whether body is to be sent in HTML format or not
  • ccString: Comma separated string of email addresses to be CCed
  • bccString: Comma separated string of email addresses to be BCCed

Example:


var bodyText = 'I am having trouble with building my app';
intel.xdk.device.sendEmail(bodyText, "html5tools@intel.com.com", "I Need Help", true, "", "" ); 
            
For more complete information about compiler optimizations, see our Optimization Notice.