• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 228
  • Last Modified:

Running agent causes page not found

When I put in the following code in an agent and ran the agent from WQS, I got "page not found" with

in the http address field.

FIELD SendTo:="Michael Rothschild";
FIELD CopyTo:=@Author;
FIELD Subject:=@If(@IsNewDoc;"New ";"Update To ") + ProjName;
@MailSend(SendTo;  CopyTo;  ""; Subject; ""; ""; [IncludeDoclink]);

The app works fine if I don't run the agent
  • 2
1 Solution
Hi paynestreet,
@Mailsend is unique to the NotesClient..
They work only in the Notes client interface. There are no browser counterparts to @DialogBox, @Picklist, and @Prompt, for example. And several advanced mail-handling functions are unique to the Notes client, such as @MailSend and @IsDocBeingMailed.

What is it that you're trying to do?

paynestreetAuthor Commented:
I want to send an email to notify the admin that a new project has been entered or updated.
Is this doable in LotusScript?

Yup, look at the mail database in the Memo form, and check the WebQuerySave event, it basically calls wmail agent, which if you check the agent it does a bunch of things ... etc.

So, you can call lotus script agents on the web, but the form, you just submit, and run the notification on the webQuerySave.  :)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now