Application

Represents the VBA Mailer library application object.

Properties

Session

Returns the NameSpace object for the current session. From there you can work with Accounts.

CreateItem

Creates and returns a new VBA Mailer item.


Private Enum OlItemType
    olMailItem = 0
End Enum

Sub Demo
    Dim appMailer As vbamailerlib.Application
    Dim mi As vbamailerlib.MailItem
    Set mi = appMailer.CreateItem(OlItemType.olMailItem)
    '...
End Sub