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

x
?
Solved

Lotus Notes signature file

Posted on 2013-11-13
7
Medium Priority
?
593 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
  • 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Script to copy or move mouse-selected collection of files plus targets referenced by shortcuts (.lnk) The purpose of this article is to help illuminate the real challenges and options available (where they may exist) for utilizing simple scriptin…
Welcome back!  My apologies for taking so long to write part two of this series; it's been a long time coming!  As I promised in Part 1, this article will focus on how to locate those elusive AD properties that you are searching for.  Why is this us…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

783 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