I trying to send an email through an agent. But I am getting
Notes error: The server is not responding. The server may be down or you may be experiencing network problems. Contact your system administrator if this problem persists
This agent is working fine in notes client. Also, iNotes Mail through web are working fine.
Code
===Dim session As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Set db = session.CurrentDatabase
Set doc = New NotesDocument( db )
doc.Form = “Memo”
doc.SendTo ="biby_j_t@hotmail.com"
doc.Subject = “Here’s the document you wanted”
Call doc.Send( false )// I tried with true also
it fails and return the previous message at Call doc.Send( false )
I have set it to run with Administrative rights. and called in webquerysave and called using ?openagent. But I am getting the same error. Please help.
Please help.