Jump to content
Gold Sponsor: Data-Way IT-Consulting, Austria

  • PBXScript.SendEMail

    PBXScript.SendEMail

    VBScript   → Lua

     

    This function sends an email from a configurable email address.

     

    PBXScript.SendEMail bstrSender, bstrReplyTo, strRecipients, bstrCC, bstrBCC, bstrSubject, bstrBody,bstrAttachmentFile, bstrAttachmentMimeType, bIsVoicemail

     

     

    This function returns an integer value of  PBXSuccess (0) on success. See list of defined return values.

     

    Beside this function, there is also a PBXCall.SendEMail function, with much less parameters.

     

     

    Parameters

     

     

    bstrSender

     

    The EMail "From" field. Must be a valid SMTP mail address, e.g. smith@example.com

     

     

    bstrReplyTo

     

    The EMail "ReyplTo" field. Must be a valid SMTP mail address, e.g. smith@example.com

     

     

    bstrRecipients

     

    The EMail "To" field. Must be a valid SMTP mail address, e.g. smith@example.com, or a list of such addresses, separated by ; (semicolon).

     

     

    bstrCC

     

    The EMail "CC" field. Must be a valid SMTP mail address, e.g. smith@example.com, or a list of such addresses, separated by ; (semicolon).

     

     

    bstrBCC

     

    The EMail "BCC" field. Must be a valid SMTP mail address, e.g. smith@example.com, or a list of such addresses, separated by ; (semicolon).

     

     

    bstrSubject

     

    The EMail "Subject" field.

     

     

    bstrBody

     

    The EMail "Body" field.

     

     

    bstrAttachmentFile

     

    The name of a file to be attached to the email.

     

     

    bstrAttachmentMimeType

     

    The Mime trype of the attached file. Default: "" (empty string)

     

     

    bIsVoicemail

     

    Enable the voicemail signalling in the receivers SwyxIt! client or on his phone. Default: False

     

     

    Please note: Even if unicode characters are possible within VBScript strings, use only SMTP compatible characters.

     


     


    Tom Wellige
     Share


     Share




×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.