When new mail has arrived

hi all !!

I have created an agent…and want it to fire when a new mail arrives…

I have created the agent with the following properties…

runtime: when new mail has arrived

target : newly received mail documents.

but its not working…

can anyone tell me where to write the agent and if some properties needed to be changed…

I am writing the agent in my own mail database…

thanks & regards,

kaushik das

Subject: when new mail has arrived

thanks…

Becca & Joydeep for your valuable suggestions…

regards

kaushik das

Subject: when new mail has arrived

HAi Dada, Please Clear that where u r using the code.

Please send me a mail and clear ur requirment.

Pawan

Subject: when new mail has arrived

Dear kaushik,

When new mail arrives its event comes under schedule agent, so change agent property and run ur agent it will work fine.

also, u must check ur rights to run schedule agent on the server

Rishi

Subject: RE: when new mail has arrived

Hai Rishi, Thx for response.I know it will come in shedule agent and I am admin of the server as well as I have rights in server and in Local.

But Its Not working.

When the new mail comes.

Please guide us.

PAwan

Subject: RE: when new mail has arrived

hi…dear rishi…

well the schedule agent is not working…what i think is that it wont be a schedule agent b’coz schedule agents run after specific intervel of time…and there is no such balanced interval when i will get a mail…

pls think…

regards,

kaushik das

Subject: RE: when new mail has arrived

Dear Kaushik,

If u want to write the agent that will fire when ny new mail arrives then u have a options select target “when new mail arrives”. So whenever any mail will come ur code will excecute. Notes this will ur OnEvent agent not schedule , but u have a proper acces in server document to run this type of agent .

One more thing about schedule agent is that u can set ur time setting for run any schedule agent , like 6.00-12.00 am .

Rishi

Subject: RE: when new mail has arrived

dear rishi…

I am doing the samething only…and I am the administrator of the server…then also its not running…I have written the agent in my mail database…

regards,

Kaushik Das

Subject: RE: when new mail has arrived

Hi dada, Please Check the Server—> Security Tab—>

And Checks that Ur name are included or not.Means u r autorised u run a shedule agent.

Else in local machine.

File–>Preferences---->User Preferences

And Checked

Enabled Sheduled Local Agent.

I am sending u the Print screen.

Hope it will work in Local

Pawan

Subject: RE: when new mail has arrived

Rather than going one by one through every possible mistake you could have made, you might find it easit to read Agent FAQ’s “troubleshooting” article. It tells you how to turn on debugging and what to look for, along with common mistakes and how to fix them.Look under resources on the right. Good luck!

Subject: RE: when new mail has arrived

Since you are facing problems with a post-delivery agent, in addition to Becca’s suggestion, you might want to specifically read the article ‘Out of the InBox’. The link to the article is also availble in the Agent FAQ page. The article very lucidly explains the workings of a pre- and a post-delivery agent. Carefully read the section ‘Agent failover for pre-delivery mail agents’, because it talks about settings that needs to be in effect for a post-delivery agent to run successfully.