SendMail

From SoftIVR

Jump to: navigation, search

sendMail

sendMail(recipient, subject, body[, file]) sends e-mail. It takes three mandatory parameters:

  • recipient: the e-mail address
  • subject: the subject of the e-mail
  • body: the e-mail's body text

and then optionally one or more files to be attached to the e-mail.

A good example of its use is in the voicemail sample application.

Return to Javascript functions.