Highlight a phrase and click this icon to search it on Swyx-Forum    Highlight a phrase and click this icon to search it within the Swyx Knowledgebase    Highlight a phrase and click this icon to search it using Goolge    Highlight a phrase and click this icon to search it using Wikipedia

Highlight a phrase and click this icon to search it on Swyx-Forum    Highlight a phrase and click this icon to search it within the Swyx Knowledgebase    Highlight a phrase and click this icon to search it using Goolge    Highlight a phrase and click this icon to search it using Wikipedia

SwyxPEDIA

Bookmark and Share

SwyxPEDIA

Bookmark and Share

PBXCall.SendEMail


This function sends an email via the globally configured email address.

PBXCall.SendEMail bstrAddress, bstrSubject, bstrBody, bAttachRecording

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

The "from" field of the email with be populated with the globally configured email address. The globally configured mail server will be used to sent this email via SMTP.

 

Parameters

bstrAddress

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

bstrSubject

EMail Subject.

bstrBody

EMail Body.

bAttachRecording

If TRUE attach last recorded message, i.e. the WAV-file which was created by last PBXCall.RecordMessage call before this SendEMail.

 

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

 

 

Server Script API

 

You might also be interested in the following articles:

GSE build in functions
VBScript build in functions




 | View Topic History  |

 

SwyxPEDIA Help
Sponsors