Enables you to find out information about your account.
Implemented by AccountService class
Dim service as new EsendexLib.AccountService
Initialise the class with your Esendex credentials. You must call this method before you call any other on the interface.
Sub Initialise(Username As String, Password As String, Account As String, [IsServerSide])
Parameters
Returns the remaining message limit on your account.
Function GetMessageLimit() As Long
Return Value: The number of messages remaining on your account.
Returns the features that are enabled on your account.
Function GetAccountFeatures() As Long
Return Value: The features enabled on your account. This can be a combination of: ACCOUNT_FEATURE_NONE, ACCOUNT_FEATURE_SERVICE_ALIASING and ACCOUNT_FEATURE_INBOX
Returns a state object that contains information about your account.
Function GetAccountState() As AccountState
Return Value: An object that contains information about your account, including the ID assigned by Esendex, the reference, address, service alias, messsage limit and features.
Enables you to retrieve, add, edit and delete contacts and contact groups.
Implemented by ContactService class
Dim service as new EsendexLib.ContactService
Initialise the class with your Esendex credentials. You must call this method before you call any other on the interface.
Sub Initialise(Username As String, Password As String, Account As String, [IsServerSide])
Parameters
Returns a list of contacts associated with your account.
Function GetContacts() As ObjectCollection
Return Value: A collection containing the contacts associated with your account.
Returns a list of groups associated with your account.
Function GetGroups() As ObjectCollection
Return Value: A collection containing the groups associated with your account.
Adds a contact to your account.
Function AddContact(Contact) As String
Parameters
Return Value: The ID assigned to the contact by Esendex.
Adds multiple contacts to your account. Function AddContacts(Contacts as ObjectCollection) As StringCollection2
Parameters
Return Value: A collection containing the IDs assigned to the contacts by Esendex.
Adds a group to your account.
Function AddGroup(Group, MemberIDs as String) As String
Parameters
Return Value: The ID assigned to the group by Esendex.
Deletes a contact from your account.
Sub DeleteContact(ContactID as String)
Parameters
Deletes multiple contacts from your account.
Sub DeleteContacts(ContactIDs as String)
Parameters
Deletes a group from your account.
Sub DeleteGroup(GroupID as String, [IncludeMembers]) Parameters
Updates one of your account’s contacts.
Sub UpdateContact(Contact)
Parameters
Updates one of your account’s groups.
Sub UpdateGroup(Group, MemberIDs as String)
Parameters
Retrieves a contact from your account.
Function GetContact(ContactID as String) As Contact
Parameters
Return Value: The Contact.
Retrieves a group from your account.
Function GetGroup(GroupID as String) As Group
Parameters
Return Value: The Group.
Retrieves the contact members within a group.
Function GetGroupMembers(GroupID as String) As ObjectCollection
Parameters
Return Value: A collection containing the group’s members.
Retrieves a contact using it’s QuickName.
Function GetContactByQuickName(QuickName as String) As Contact
Parameters
Return Value: The Contact.
Retrieves a group from your account.
Function GetGroupByName(GroupName as String) As Group
Parameters
Return Value: The Group.
The messenger folder contains a visual basic project that shows the usage of the SDK in an application.It displays the contents of your Esendex inbox. You can delete messages from your inbox and send an SMS message.