-
Topic
-
Hello,
I have a Demoversion of Formativ V1.06.08 with Groupwise 6.5 SP1 installed.
I tried to access the property “DelayedDeliveryDate”, which is defined as
Read/Write in the Object-API of Groupwise.As You can see in the example attached, I can read the property, but if I
try to set a new value, I get an “Unknown Error”.I like to delay the delivery of a automatic generated mail as I
can do in the “Send Options” of a “New Mail”- Window.Sub Main(Client, GWEvent)
Dim objMail
Dim objNewMail
Dim objRecipient
Dim Datum‘ Create a draft mail message with no user interface
Set objMail = GroupWise.Account.MailBox.Messages.Add(“GW.MESSAGE.MAIL”)‘ Add a single recipient – ourself
Set objRecipient = objMail.Recipients.Add(GroupWise.Account.Owner.EmailAddress,,0)
With objMail
.Priority = fgwNormal
.FromText = “Formativ”
.Subject = “This email was created using Formativ”
.BodyText.PlainText = “This is the body text”Datum = .DelayedDeliveryDate
msgbox (Datum)
.DelayedDeliveryDate = TODAYEnd With
Set objNewMail = objMail.Send
Call MsgBox (“Message Id : ” & objNewMail.MessageID, 64, “Formativ”)
Set objRecipient = Nothing
Set objMail = NothingEnd Sub
- You must be logged in to reply to this topic.