I'm developing with VB.NET and I have this problem:
Executing this code

Dim appl As GroupwareTypeLibrary.Application = New GroupwareTypeLibrary.Application

Dim acct As GroupwareTypeLibrary.Account = appl.Login

Dim mailbx As GroupwareTypeLibrary.Folder = acct.MailBox

Dim msgs As GroupwareTypeLibrary.Messages = mailbx.Messages

Dim msg As GroupwareTypeLibrary.Message = msgs.Add("GW.MESSAGE.MAIL")

Dim rpts As GroupwareTypeLibrary.Recipients = msg.Recipients

Dim rpt As GroupwareTypeLibrary.Recipient = rpts.Add("reinhard@gmail.com")

msg.Subject.PlainText = "subject"
msg.BodyText.PlainText = "body"

leads to an error when I try to use either "rpts.resolve" or "msg.send"
The error message is "User not found".

I have no idea why it's not working because it's basically the same as some sample code I found but I'm running out of ideas.
Can anyone help me?

Thank you in advance!