Solved

Lotus Notes signature file

Posted on 2013-11-13
7
589 Views
Last Modified: 2013-11-19
Hi

I have a script that has created an HTML signature file (signature.htm) on each users "d:\emailsig
folder".  I need help within a script that I will email to all users which will load into Lotus notes as their permament signature.
I'm using LN 8.5.1

Thanks
0
Comment
Question by:Bianchi928
[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
  • 4
  • 2
7 Comments
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 39647281
It'll take you (us) quite some time to develop this completely error-free. Wouldn't it be better, more flexible, faster, etc. to use an off-the-shelf solution, instead of reinventing yet another wheel? I saw there's one by Whitsell Consultancy (no link, sorry), and there's this one: http://www.justfordomino.com/products.nsf/productid/85LKHJ?opendocument
0
 
LVL 1

Expert Comment

by:Hans Holt, Ph.D.
ID: 39648720
There is a Danish version witch I have used both with Windows and Linux Domino servers:

http://www.sander-software.dk/Websites/SS/webdk.nsf/vInfoID/RSHN-7WUR9V?OpenDocument

Google may help you translate the documentation.
0
 

Accepted Solution

by:
Bianchi928 earned 0 total points
ID: 39650584
I've got it and it's working

Set NotesSession = CreateObject("Notes.Notessession")
Set maildb= NotesSession.GetDatabase("", "")

Call Maildb.OpenMail

Set mailprof = maildb.GetProfileDocument("CalendarProfile")


'Remove any existing signature field from CalendarProfile
'Dim itmSig As NotesItem
Set itmSig = mailprof.GetFirstItem("Signature_Rich")
If Not itmSig Is Nothing Then mailprof.RemoveItem("Signature_Rich")

Call mailprof.ReplaceItemValue("EnableSignature", "1")
Call mailprof.ReplaceItemValue("SignatureOption", "2")
Call mailprof.ReplaceItemValue("Signature_1", "")
Call mailprof.ReplaceItemValue("Signature_2", "D:\emailsig\signature.htm")
Call mailprof.ReplaceItemValue("Signature", "D:\emailsig\signature.htm")
Call mailprof.ComputeWithForm(True, False)
Call mailprof.Save(True, False)
0
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 

Author Comment

by:Bianchi928
ID: 39650586
I did my reaserach and ame up with the solution
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 39650598
That's.... not bad, not bad at all!  :-)
0
 

Author Comment

by:Bianchi928
ID: 39654907
sjef_bosman.

Thanks
0
 

Author Closing Comment

by:Bianchi928
ID: 39658944
Happy with that
0

Featured Post

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.

Question has a verified solution.

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

In this article we want to have a look at the directory attributes which are used by Microsoft to store the so called Security Identifiers (SID). These SIDs plays an important role in delegating and granting permissions and in authentication of trus…
Well hello again!  Glad to see you've made it this far without giving up.  In this, the fourth installment of my popular series, I'm going to cover functions and subroutines, what they are, and why they are useful.  Just in case you stumbled onto th…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

636 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