• 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
https://usdeva001.chicago.na.com/applications/s-z/trmptest.nsf/69be38fe9d5b1ff4862571160076c749?OpenForm&Seq=1

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
0
paynestreet
Asked:
paynestreet
  • 2
1 Solution
 
marilyngCommented:
Hi paynestreet,
@Mailsend is unique to the NotesClient..
http://www-128.ibm.com/developerworks/lotus/library/ls-appstoWeb/
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?

Regards!
0
 
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?
0
 
marilyngCommented:
paynestreet,

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