Lotus Notes signature file

Posted on 2013-11-13
Last Modified: 2013-11-19

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

Question by:Bianchi928
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
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:

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:

Google may help you translate the documentation.

Accepted Solution

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)
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

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

Expert Comment

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

Author Comment

ID: 39654907


Author Closing Comment

ID: 39658944
Happy with that

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Recently I finished a vbscript that I thought I'd share.  It uses a text file with a list of server names to loop through and get various status reports, then writes them all into an Excel file.  Originally it was put together for our Altiris server…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
Suggested Courses

738 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