This forum is closed to new posts and
responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:
you can always use this trick, if an ambiguous error is found it will look for the mail domain of the person you are trying to email
Sub YourSub
On Error 4294 goto AmbiguousError
Exit Sub
AmbiguousError:
Set namesdb= session.getdatabase(db.server, "names.nsf")
Set Persondoc= namesdb.getview("($Users)").getdocumentbykey(docmail.SendTo(0))
docMail.SendTo = Persondoc.fullname(0) & "@" & Persondoc.MailDomain(0)
Call docMail.Send(True)
Resume next
End sub
Feedback response number WEBB7G7359 created by ~Martha Dwogerosterings on 07/03/2008