Hii
I am trying to use lotusscript to get to send a mail to a multivalue field. When I use doc.sendto it just sends to the first person in the field.
I read online the only way to do this is using an array. I have tried using this an
teammail = Ubound (doc.teammembers)
Redim dinArray(teammail)
For i=0 To teammail
dinArray(i)=doc.teammembers(i)
Next
cdoc.sendto=teammail(0)
When I run it I get an error saying Variant does not contain a container. Im not sure where it is going wrong.
Thanks