/ Forums / Advansys Formativ / Creating Solutions with Formativ / example of the GroupWise.SendMail method / Reply To: example of the GroupWise.SendMail method

#7923
MikeC
Participant

    Thanks very much for your response. I have been able to get this working and all works as I would assume it should.

    I have moved on from this back to using the Object API and creating a mail through GroupWise.Account.MailBox.Messages.Add
    Is there an easy quick way to add a string list to the body of the email without having to step through each string list item and add it to the body, the code I am using is:

    for i = 0 to strtmp.Count – 1
    newMail.BodyText = newMail.BodyText + strlist.Strings(i)
    next

    The problem is with a large string list it takes a long time to fill in the BodyText because it is also reading in itself (BodyText) each time.

    Any information to clarify this issue will be greatly appreciated.