Dim db As NotesDatabase
Dim doc As NotesDocument
Set db = session.CurrentDatabase
Dim collection As NotesDocumentCollection
Set collection = db.AllDocuments Set doc= collection.GetFirstDocument Dim item As New NotesItem(doc, "Subject", "New Inquiry") Dim item2 As New NotesItem(doc, "Body", "This test was successful") Call doc.Send(True, "firstname.lastname@example.org") Very simple code actually works beautifully using the Notes Client. However, nothing happens when I use a Web browser to run this agent. The funny thing is that I have many other agents that I can run over the Web because I have unrestricted rights in the Agent Manager. When I check my error log file, this is what I see: 09/16/2002 10:55:41 AM Addin: Agent 'Test' error message: Notes error: You are not authorized to use the server Any ideas why this might be happening? I'd truly appreciate your feedback since I've been stuck on this for a while.