Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Out of Office Modification.

Posted on 2003-10-27
3
Medium Priority
?
230 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 1600 total points
ID: 9631737
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 400 total points
ID: 9634154
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
ID: 9634980
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

877 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