Mailsend in lotus script ls

In my web application, guests fill out a form which is send to sales and a copy to themselves.

The code is:

Dim session As NotesSession

Set session = New NotesSession

Dim doc As NotesDocument

Set doc = session.DocumentContext

Dim receiver1 As String

receiver1 = doc.wool_email

Call doc.Send(True,receiver1)

No matter if I hard program the receipt or through the form; both gives the same error on the server console:

The error on the server console:

05/18/2005 04:35:12 AM Error connecting to server Server/Cool: The remote server is not a known TCP/IP host.

05/18/2005 04:35:12 AM Error connecting to server Server/Cool: The remote server is not a known TCP/IP host.

05/18/2005 04:35:12 AM Error connecting to server Server/Cool: The remote server is not a known TCP/IP host.

05/18/2005 04:35:12 AM Agent ‘wool_proceed_checkout_phase_3’ error: Notes error: The remote server is not a known TCP/IP host.

When I test it on my workstation with the designer emails are appearing in the mail.box.

Please give help!

Subject: mailsend in lotus script ls

can you go to server console and type that command : trace yourservername

if the result is bad it’s because your server doesn’t show himself. Try to change your host table on your server machine.

the other solutions is to create a connection document from the server to the server via the domino administrator.

Subject: RE: mailsend in lotus script ls

Thanks! It works now!