Dear ALL
I'm having a problem sending a meeting request from an Foxpro Application through Lotus Notes. I found some code that works just fine, but I simply cannot get the meeting request out to multiple addressees. On the net, I found that it is possible to do so by using an array and assigning the array to the "SENDTO"-property.
I must be doing something wrong, because it only gets send to the first one in the list.
But WHAT am I doing wrong ?
On the same subject... how do I enter multiple dates for a meeting request on non-adjecent days ?
loSession = CreateObject("notes.NotesSession")
lServer = loSession.GetEnvironmentString( "MailServer",.t.)
lMaildbName = loSession.GetEnvironmentString( "MailFile",.t.)
loMaildb = loSession.getdatabase(lServer, lMaildbName )
<snip>
dimension arecipient(3)
Arecipient(1)="FirstAddr"
Arecipient(2)="SecondAddr"
Arecipient(3)="ThirdAddr"
dimension aCCrecipient(2)
aCCrecipient(1) = "FirstCC"
aCCrecipient(2) = "SecondCC"
MailDoc.sendto = Arecipient
maildoc.Copyto = Accrecipient
MailDoc.altsendto = Arecipient
maildoc.altCopyto = Accrecipient
MailDoc.requiredAttendees = Arecipient
maildoc.optionalAttendees = Accrecipient
MailDoc.altrequiredAttendees = Arecipient
maildoc.altoptionalAttendees = Accrecipient
MailDoc.SAVEMESSAGEONSEND = .T.
MailDoc.SEND(.F.)
many, many thanks for all replies
I'm having a problem sending a meeting request from an Foxpro Application through Lotus Notes. I found some code that works just fine, but I simply cannot get the meeting request out to multiple addressees. On the net, I found that it is possible to do so by using an array and assigning the array to the "SENDTO"-property.
I must be doing something wrong, because it only gets send to the first one in the list.
But WHAT am I doing wrong ?
On the same subject... how do I enter multiple dates for a meeting request on non-adjecent days ?
loSession = CreateObject("notes.NotesSession")
lServer = loSession.GetEnvironmentString( "MailServer",.t.)
lMaildbName = loSession.GetEnvironmentString( "MailFile",.t.)
loMaildb = loSession.getdatabase(lServer, lMaildbName )
<snip>
dimension arecipient(3)
Arecipient(1)="FirstAddr"
Arecipient(2)="SecondAddr"
Arecipient(3)="ThirdAddr"
dimension aCCrecipient(2)
aCCrecipient(1) = "FirstCC"
aCCrecipient(2) = "SecondCC"
MailDoc.sendto = Arecipient
maildoc.Copyto = Accrecipient
MailDoc.altsendto = Arecipient
maildoc.altCopyto = Accrecipient
MailDoc.requiredAttendees = Arecipient
maildoc.optionalAttendees = Accrecipient
MailDoc.altrequiredAttendees = Arecipient
maildoc.altoptionalAttendees = Accrecipient
MailDoc.SAVEMESSAGEONSEND = .T.
MailDoc.SEND(.F.)
many, many thanks for all replies