Problem with agent not sending emails

I have a situation here, which I’m just baffled. We have an agent which runs and dispatches tickets in the code it adds a value to a field call CodeFlag. then runs the computewithform command.

On the Form there is a field with a Validation that if the CodeFlag = to one it will send out the email & update another field.

Now I know it’s working as the field which the validation updtes is updating, but no email is sent.

I know the server can send emails as if I sent the field Codeflag to it’s value and refresh the form the email is generated.

Any thoughts? I have the agent properties set to run on behalf of and have checked off the Allow User Activation. The secutity is set to 1.Do not allow restricted operations.

I really need help with this one…I just don’t know why it will not generate emails!

Thanks

Subject: Problem with agent not sending emails…

I don’t think you can count on ComputeWithForm to send mail from an input validation event – all it’s looking for is the success/failure return.

Subject: RE: Problem with agent not sending emails…

It is working, except it’s not sending the email. We have the exact same setup on another server and it’s working fine…the only difference is it runs off a local copy, where mine runs off the server.

Subject: RE: Problem with agent not sending emails…

Edmound, listen to Stan…ComputeWithForm is unrealiable, especially with large forms.

As you said, “It works, EXCEPT…”

Just re-write the agent in LS.

Regards,

Simeon

Subject: RE: Problem with agent not sending emails…

Hi again…

The agent is in LS…instead of doing the Computewithform, can I have it run another agent to send the email? Or what about refreshing the document once the value has been added?