Solved

Out of Office Modification.

Posted on 2003-10-27
3
222 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

910 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

23 Experts available now in Live!

Get 1:1 Help Now