Description
Allows you to send mail messages.
Properties, Procedures and Functions
Procedure Send
Property Text: String (R/W)
Property Subject: String (R/W)
Property Recipient: String (R/W)
Property CC: String (R/W)
Property BCC: String (R/W)
Property Attachment: String (R/W)
Property Concept: Boolean String (R/W)
Example
Sub Main()
Dim EMail
Dim S
Dim Recipients
' Creates an e-mail object
Set EMail = application.Email()
' Specifies the subject line
EMail.Subject = "A test e-mail"
S = ""
S = S + " Put your e-mail text here" + vbCrLf
S = S + " You can use several lines" + vbCrLf
' Places the string in the text property
EMail.Text = S
Recipients = "Info@isah.com" + vbCrLf
' Specifies to which recipients the e-mail must be sent
EMail.Recipient = Recipients
' Send
Email.Send
MsgBox "E-mail sent"
End Sub