Solved

Out of Office Modification.

Posted on 2003-10-27
3
219 Views
Last Modified: 2013-12-18
Hey, when you setup the out of office message it automatically puts...

I will be out of the office from X date and will not be returning until X date, then it puts your custom message that you type in.

How can i have it not say the "I will be out of the office..." part and just put my custom message.
Basically a auto responding agent.

Regards,
Jason Incarnato
0
Comment
Question by:unknown45
3 Comments
 
LVL 31

Accepted Solution

by:
qwaletee earned 400 total points
Comment Utility
That value is automatically calculated when yuo fill out the Out Of Office profile.  The only two ways to drop it are to either prevent that value from going on the profile, or to prevent the agent from using it when responding.

Try this, after you have set up your Out Of Office profile (you need to do this each time you edit the profile):

Execute the following LotusScript...
Dim db as new notesDatabase("" , "" )
db.openMail
Dim doc as notesDocument
Set doc = db.getProfileDocument("OutOfOfficeProfile")
doc.removeItem("DaysOut")
doc.save true,true

That will remove teh calculated value, so that the message sending script has no text to prepend to your message.
0
 
LVL 24

Assisted Solution

by:HemanthaKumar
HemanthaKumar earned 100 total points
Comment Utility
Or simply comment this line in OutOfOffice Agent.

Open the agent and select Declarations section, search for the lines and comment it out

Me.m_vFieldData = Me.m_profileOffice.GetItemValue ( "DaysOut")(0)
Me.m_strMsg = Me.m_vFieldData & Chr(10) & Chr(10)

PS: Inorder to avoid design refresh , just flag the agent's "Prohibit design refresh or replace" setting.

~Hemanth
0
 

Author Comment

by:unknown45
Comment Utility
Thanks qwaletee, I didn't want to make the changes permanent so I chose yours as the main answer, but hermanthas also works and he gave me the hit about design refresh, so I gave him a few points.

Regards,
Jason Incarnato
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
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.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

763 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

12 Experts available now in Live!

Get 1:1 Help Now