Running agent causes page not found

Posted on 2006-03-30
Last Modified: 2013-12-18
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
Question by:paynestreet
    LVL 18

    Expert Comment

    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?


    Author Comment

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

    Accepted Solution


    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.  :)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
    Article by: Rob
    Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    This video discusses moving either the default database or any database to a new volume.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now