Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub email()
'*****************************************************
'Requires Groupware Type Library reference
'*****************************************************
Dim gwapp As GroupwareTypeLibrary.Application
Dim gwmessage As GroupwareTypeLibrary.Message
Dim gwaccount As GroupwareTypeLibrary.Account
Dim gwrecipient As GroupwareTypeLibrary.Recipient
Set gwapp = New GroupwareTypeLibrary.Application
Set gwaccount = gwapp.Login()
Set gwmessage = gwaccount.MailBox.Messages.Add
With gwmessage
.Subject = "Subject"
.FromText = "From"
.bodytext = "Your Text Here"
.Attachments.Add "Your File 1"
.Attachments.Add "Your File 2"
.Attachments.Add "Your File 3"
End With
Set gwrecipient = gwmessage.Recipients.Add("recipient email address")
With gwrecipient
.EmailType = ""
.DisplayName = "Display Name of Recipient" 'Optional
.Resolve
End With
gwmessage.send
Set gwrecipient = Nothing
Set gwmessage = Nothing
Set gwaccount = Nothing
Set gwapp = Nothing
End Sub