The date and time the message was sent.
object.Sent
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISMessage interface |
DateTime
Display the date and time the message was sent.
Dim aMes
Dim aMessageRecipients
Dim aPatient
Set aMes = Profile.CreateMessage
aMes.Text = aMes.AddText("Hello! Come to my birthday party!")
aMes.Subject = "Birthday party"
set aMessageRecipients = aMes.Recipients
set aPatient = Profile.SelectPatient
if aPatient.Email <> "" then
aMessageRecipients.AddPatient(aPatient)
else
Profile.MsgBox("The massage cannot be sent, because the patient has no email")
exit sub
end if
aMes.Send
Profile.MsgBox("The message was sent on " & aMes.Sent)
In Profile Client v8 on User Interface Sent Messages can be found in
.