Notification functions

MailerDefineServer

Declaration

MailServer MailerDefineServer(string server, int port, string user, string password, bool useSSL)

Description

Defines a mail server.

Supported Runtime Versions

1.0, 2.0, 3.0, 4.0, 5.0

Parameters Description
server The mail server name.
port The port of the server.
user The user to log on.
password The password to log on.
useSSL Whether to use SSL communications.

Return Value

A new mail server instance.

MailerSendMail

Declaration

bool MailerSendMail(MailServer server, string sender, string receiverlist, string subject, string body)

Description

Sends an e-mail.

Supported Runtime Versions

1.0, 2.0, 3.0, 4.0, 5.0

Parameters Description
server The mail server definition.
sender The sender address.
receiverlist A list of receiver addresses separated by commas.
subject The subject of the e-mail.
body The mail body.

Return Value

True, if message could be sent, false otherwise.

MingleCreateConnection

Declaration

MingleConnection MingleCreateConnection(string endpoint, string tenant, string userGUID, string accessKey, string secretKey)

Description

Creates a new connection to Ming.le.

Supported Runtime Versions

3.0, 4.0, 5.0

Parameters Description
endpoint Endpoint of the Ming.le service.
tenant Tenant to create connection for.
userGUID GUID of the connection user.
accessKey The user's access key.
secretKey The user's secret key.

Return Value

A new MingleConnection object.

MinglePostMessage

Declaration

void MinglePostMessage(MingleConnection connection, string message, string privacyLevel)

Description

Posts a new Ming.le message.

Supported Runtime Versions

3.0, 4.0, 5.0

Parameters Description
connection Connection to be used for posting the message.
message Message to be posted.
privacyLevel The message's privacy level.

Return Value

Does not return a value.

MinglePostMessage

Declaration

void MinglePostMessage(MingleConnection connection, string message, IntArray userIDs, IntArray groupIDs)

Description

Posts a new Ming.le message. Privacy level is set to TargetList automatically. Either userIDs or groupIDs must not be empty.

Supported Runtime Versions

3.0, 4.0, 5.0

Parameters Description
connection Connection to be used for posting the message.
message Message to be posted.
userIDs Target user IDs to be added to the message.
groupIDs Target group IDs to be added to the message.

Return Value

Does not return a value.

MinglePostMessageToGroup

Declaration

void MinglePostMessageToGroup(MingleConnection connection, string groupGUID, string message, string privacyLevel)

Description

Posts a new Ming.le group message.

Supported Runtime Versions

3.0, 4.0, 5.0

Parameters Description
connection Connection to be used for posting the message.
groupGUID GUID of the group to post the message to.
message Message to be posted.
privacyLevel The message's privacy level.

Return Value

Does not return a value.

MinglePostMessageToGroup

Declaration

void MinglePostMessageToGroup(MingleConnection connection, string groupGUID, string message, IntArray userIDs, IntArray groupIDs)

Description

Posts a new Ming.le group message. Privacy level is set to TargetList automatically. Either userIDs or groupIDs must not be empty.

Supported Runtime Versions

3.0, 4.0, 5.0

Parameters Description
connection Connection to be used for posting the message.
groupGUID GUID of the group to post the message to.
message Message to be posted.
userIDs Target user IDs to be added to the message.
groupIDs Target group IDs to be added to the message.

Return Value

Does not return a value.

MinglePostMessageToOtherUser

Declaration

void MinglePostMessageToOtherUser(MingleConnection connection, string recipientGUID, string message, string privacyLevel)

Description

Posts a new Ming.le message to another user.

Supported Runtime Versions

3.0, 4.0, 5.0

Parameters Description
connection Connection to be used for posting the message.
recipientGUID GUID of the user to post the message to.
message Message to be posted.
privacyLevel The message's privacy level.

Return Value

Does not return a value.

MinglePostMessageToOtherUser

Declaration

void MinglePostMessageToOtherUser(MingleConnection connection, string recipientGUID, string message, IntArray userIDs, IntArray groupIDs)

Description

Posts a new Ming.le message to another user. Privacy level is set to TargetList automatically. Either userIDs or groupIDs must not be empty.

Supported Runtime Versions

3.0, 4.0, 5.0

Parameters Description
connection Connection to be used for posting the message.
recipientGUID GUID of the user to post the message to.
message Message to be posted.
userIDs Target user IDs to be added to the message.
groupIDs Target group IDs to be added to the message.

Return Value

Does not return a value.