Solved

Out of Office Modification.

Posted on 2003-10-27
3
226 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 31

Accepted Solution

by:
qwaletee earned 400 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 100 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

Suggested Solutions

Title # Comments Views Activity
Word Pro Conversion utility 13 42
How to change default font size and font in Lotus Notes 9 7,885
DAOS - Backup / Restore 2 208
Lotus Notes shared mailbox 'Sent by' in header 3 156
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…
  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

759 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