Sapphire Mail Utility
Emails are a powerful method of communication with the ability to send messages and files around the world almost immediately, free of charge. Being able to send and receive emails on your device within your eVB, VB.NET or C# application allows you to communicate with the largest audience, whether it is a sales manager back in the office or a customer.
The Sapphire Mail Utility has been designed to work with the device’s built in mail box features to allow you to configure the mail box and compose new messages. You can also receive messages from the mail box. This allows a user continue to manage their emails through the application or via the Pocket PC Inbox application.
Click here to view a third party article on how to use the Sapphire Mail Utility
The Sapphire Mail Utility makes composing and reading emails easy by providing the following functionality:
- Create a new Pocket PC mail box
- Create a new email
- Attach a file to an outgoing email
- Read the contents of the inbox
- Extract the attachment from an incoming email
You can download the latest demo version to see a fully working demo which you can reuse within your application as you see fit. This can be found on the download pages. The demo versions are fully functional and simply contain a popup message from time to time. These are ideal if you are selling your application to the client where you can be confident the application will work in practice and not just theory.
Implementation couldn’t be easier, simply declare the DLL function as a function within your application and call it as though you wrote it yourself. Here’s a sample demo to show how to create and read emails within VB.NET.
Public Function CreateMail(ByVal sTo As String, _
ByVal sCc As String, _
ByVal sBcc As String, _
ByVal sSubject As String, _
ByVal sBody As String, _
ByVal sAttach As String, _
ByVal sService As String, _
ByVal lFolder As Integer) As Integer
CreateMail = sCreateMail(sTo, sCc, sBcc, sSubject, sBody, sAttach, _
sService, lFolder, SapphireMailLicence)
Public Sub ReadMail(ByVal sService As String, _
ByVal lFolder As Integer, _
ByVal lReadEntry As Integer, _
ByRef sSenderName As String, _
ByRef sSenderEmail As String, _
ByRef sSubject As String, _
ByRef lAttachment As Integer, _
ByRef sBody As String)
Dim sReadSenderName As String
Dim sReadSenderEmail As String
Dim sReadSubject As String
Dim sReadBody As String
Dim lReturn As Integer
sReadSenderName = Space(1024)
sReadSenderEmail = Space(1024)
sReadSubject = Space(1024)
sReadBody = Space(1024)
lReturn = sReadMail(sService, lFolder, lReadEntry, _
sReadSenderName, sReadSenderEmail, _
sReadSubject, lAttachment, sReadBody, _
sSenderName = StripString(sReadSenderName)
sSenderEmail = StripString(sReadSenderEmail)
sSubject = StripString(sReadSubject)
sBody = StripString(sReadBody)
Royalty Free Licence
When you purchase a developer’s licence, you are free to use the DLL in any number of your projects and deploy it to all the devices to your clients. There’s no need for royalties based on the scale of your project, just a one off fee. You will also get 12 months email support and discounted upgrades for future developments.
Developer's Licence cost 399 GBP.