Lua → VBScript SwxWare v13.10
This function sends an email containing the given information.
local nReturn = PBXScript.SendEMail(sSender, sReplyTo, sRecipients, sCC, sBCC, sSubject, sBody, sAttachmentFile, sAttachmentMimeType, bIsVoicemail)
This function returns a PBXResult value of PBXSuccess or PBXFailure.
You can also use the PBXCall.SendEMail() function if you don't need all these additional standard email fields like CC and BCC.
string. The EMail "From" field.
string. The EMail "ReplyTo" field.
string. The EMail "To" field. Can contain multiple email addresses, separated by ";" (semicolon).
string. The EMail "CC" field.
string. The EMail "BCC" field.
string. The EMail "Subject" field.
string. The EMail "Body" field.
string. Filename (incl. complete path) to attach to this email.
string. Mime Type fo attached file.
boolean. Flag this email as SwyxWare "voicemail" via X-Header.