How do I enable a "Before New Mail Agent" programatically using Lotus Script??

I've declared the agent properly, and in my program, i wrote;

agent.isenabled = True
Call agent.save()

When I check the agent after running my program, the agent still remains disabled.

Can someone shed some light on the matter?  Thanks!
LVL 14
cezarFAsked:
Who is Participating?
 
HemanthaKumarConnect With a Mentor Commented:
Then try it on new one
0
 
zvonkoCommented:


Ok,

let your agent run, and then press F9 :)

0
 
ArunkumarCommented:
Easy money huh ?
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
HemanthaKumarCommented:
Is this run from a background agent ?

If so did you check the log !

REF: http://www-1.ibm.com/support/manager.wss?rs=463&rt=0&org=sims&doc=76E431E340FF857586256826000509B2

~Hemanth
0
 
HemanthaKumarCommented:
Din't notice "Before New Mail", which is a background agent, so check your log for details.
0
 
cezarFAuthor Commented:
tnx, I'll give it a try...
0
 
cezarFAuthor Commented:
sorry, but it only works if the agent's schedule is once a day/month etc. not before new mail arrives. I've read that it will work in R5.0.9.

regards
0
 
HemanthaKumarCommented:
So do you have that version ?
0
 
cezarFAuthor Commented:
nope. i'm still using 5.0.4. :)
0
 
cezarFAuthor Commented:
i cannot just install a new version.  my company is in control of whatever i have in my pc.  tnx anyway :)
0
 
zvonkoCommented:
Hello cezarF,

please post in CommunitySupport topic area a zero points question with a link to this question asking for your points reward.
CS topic area is here:
http://www.experts-exchange.com/Community_Support/

Cheers,
zvonko

0
 
ZvonkoSystems architectCommented:
cezarF,
No comment has been added to this question in more than 595 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:

RECOMMENDATION: Award points to HemanthaKumar http:#7149198

Any objections should be posted here in the next  4  days. After that time, the question will be closed.

Thanks,
Zvonko
EE Cleanup Volunteer
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.

All Courses

From novice to tech pro — start learning today.