• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3032
  • Last Modified:

Signature Appearance in Lotus Notes.

In Lotus Notes, i select Tools->Preferences->(Signature Tab) -> Select HTML Image to select
the signature html file that is kept at my desktop.

While the signature looks ok in the html file, however, when i import this file to Lotus Notes
it is displayed with additional blank lines.

Once i import the signature in Lotus notes, the signature has blank lines.

In Louts Notes
----------------------------------------------

Warm regards,

name |  projectname | companyname

address

( Office: ####  | Extn: ##### | Cell: ##### )

Email: name@compname.com

www.compame.co.in

In signature.htm
----------------------------------------------

Warm regards,
name |  projectname | companyname
address
( Office: ####  | Extn: ##### | Cell: #####
Email: name@hotmail.com
www.compame.co.in

Q) How can i keep these blank lines from appearing in Lotus Notes

0
gram77
Asked:
gram77
  • 14
  • 14
  • 2
  • +1
1 Solution
 
Sjef BosmanGroupware ConsultantCommented:
Sometimes, you get better results with an HTML-table, with lines suppressed.
0
 
Sjef BosmanGroupware ConsultantCommented:
My signature file:

<html>

<head>
<title>Regards,</title>
</head>

<body lang=EN-GB link=blue vlink=blue><font size=2 face="Tahoma,Helv,Univers,Verdana,Arial">
<br><br>
Regards,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sjef Bosman<br><br>

<font size=1>
WWW: http://www.bosman.fr<br>
MAIL: <br>
t?l?phone:      +000000000<br>
</font></font></body>

</html>
0
 
gram77Author Commented:
sjef_bosman:
I tried your solution in Lotus Notes, but the output comes with all html tags
0
Industry Leaders: 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!

 
Sjef BosmanGroupware ConsultantCommented:
It is the content of an external file, c:\signature.htm. Copy/paste the code in a file, tell Notes in the Preferences that the file is the signature, and try again.
0
 
gram77Author Commented:
sjef_bosman:
I have told Lotus that the file is html. Tools -> Preferences -> Signature -> HTML or Image File
Still i get all html tags with the signature
0
 
Bill-HansonCommented:
gram77:
Please post your html code.
0
 
gram77Author Commented:
code is same as posted above
0
 
Bill-HansonCommented:
There is no code in any of your posts.
0
 
gram77Author Commented:
<html>

<head>
<title>Regards,</title>
</head>

<body lang=EN-GB link=blue vlink=blue><font size=2 face="Tahoma,Helv,Univers,Verdana,Arial">
<br><br>
Regards,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sjef Bosman<br><br>

<font size=1>
WWW: http://www.bosman.fr<br>
MAIL: <br>
t?l?phone:      +000000000<br>
</font></font></body>

</html>
0
 
Sjef BosmanGroupware ConsultantCommented:
Very strange... My configuration works, and has worked for the last x years: the file with the HTML-code above, Tools/Preferences/Signature, select "Automatically append ...", select "HTML or Image File", and my filename C:\regards.htm. The extension is important, should be htm or html.

If it still doesn't work, what version of Notes do you use?

Sjef
0
 
gram77Author Commented:
I use Lotus Notes 7 on Windows XP
0
 
Sjef BosmanGroupware ConsultantCommented:
Okay. I checked the code that gets the signature. The content of the signature is fixed while saving the Preferences. It could be that your Preferences are corrupt, or that you have multiple Preferences documents. To check the first, try to change the Signature preferences to the first option, type in some silly text, and save/close it. Reopen the preferences, select the second option, insert the correct filename and save it again. Then create a new memo. What happens?

The second is more complex, it involves some LotusScript code to find out how many Preferences documents you have, and to remove one of them. I'll try to find a suitable piece of code for you...
0
 
Sjef BosmanGroupware ConsultantCommented:
You could download NotesPeek to check the internals of that mail database, to see if there are multiple calendar profile documents.

See http://www-1.ibm.com/support/docview.wss?uid=swg24005686
0
 
Sjef BosmanGroupware ConsultantCommented:
0
 
gram77Author Commented:
I have installed notespeek now what?
0
 
Sjef BosmanGroupware ConsultantCommented:
Ah :-) With NotesPeek you can look inside Notes databases, at a very low level. Just start it, in the Notes data directory (required to find the notes.ini file) and open your database. Check which and how many profile documents exist.
0
 
gram77Author Commented:
Can't really understand what you said. Can you give me a step by step method. (Please don't leave any step)
I am new to notes.
0
 
Sjef BosmanGroupware ConsultantCommented:
Okay, but please forgive occasional missteps...

1) Start a command interpreter (assuming you have a Windows client), so you'll see C:\>
2) Go to the Notes data directory (e.g. CD \Program Files\Lotus\Notes\Data)
3) Start NotesPeek
4) Open your server (+)
5) Open the mail directory (+)
6) Open your mail database (+)
7) Open Profiles (+)
   now you might see some (or many) profile documents.

There should be only 1 document called calendarprofile.
0
 
gram77Author Commented:
sjef_bosman:
I have the following profiles: Now how to delete them?

Profiles
 |
 |-->archive database profile-
 |-->calcolorprofile-
 |-->calendarprofile-
 |-->calendarsettings-cn=myname/ou=country/o=companyname
 |-->cn=mailserver/ou=23/ou=m/o=companyname;mail7\mail.nsf
 |-->colorprofile-
 |-->documentexpirationprofile-
 |-->tempvars-
0
 
gram77Author Commented:
are you sure this will rectify my problem? I hope deleting any entry would not land me up in deeper problems?
0
 
Sjef BosmanGroupware ConsultantCommented:
Deleting one won't do any good, apparently there's but one calendarprofile, and that's how it should be. One more line of investigation closed...

Did you check any further, with NotesPeek? Look at the Signature field in the calendarprofile document, mine says:

name      "Signature"
type      Text
class      Text
flags      Summary
length      16
value      "C:\\signature.htm"

And SignatureOption should contain the value "2"

But I suppose they'll contain the right values... If that's the case, I really don't know what's the matter. You used Notepad or a similar editor to create the .htm file I hope? Silly question...
0
 
gram77Author Commented:
sjef_bosman:
I wonder why is signature_1 with length=0 doing?
signature_2 resembles signature.


Under Profiles --> Calendarprofile, I have
Signature
Signature_1
Signature_2
SignatureOption

Signature:
Name:Signature
type:Text
class:Text
flags:Summary
length:61
value: "c:\\Documents and Settings\\Administrator\\Desktop\\signature.htm"

Signature:
Name:Signature
type:Text
class:Text
flags:Summary
length:61
value: "c:\\Documents and Settings\\Administrator\\Desktop\\signature.htm"


Signature_1:
Name:"Signature_1"
type:Text
class:Text
flags:Summary
length:0
value: ""

Signature_2
Name:"Signature_2"
type:Text
class:Text
flags:Summary
length:61
value: "c:\\Documents and Settings\\Administrator\\Desktop\\signature.htm"

SignatureOption
Name:"SignatureOption"
type:Text
class:Text
flags:Summary
length:1
value: "2"
0
 
Sjef BosmanGroupware ConsultantCommented:
Baffled...

Practically the only thing left to try is the Notes debugger. The idea would be
- to switch the debugger on,
- start creating a new mail,
- when the debugger kicks in, set a breakpoint at InsertSignature in the scriptlibrary CoreEmailClasses
- continue execution
- when execution stops at the breakpoint, slowly proceed and check values in variables etc.

Tedious, I know, but I don't know any other way.
0
 
qwaleteeCommented:
If you switch the signature to "text" instead of "HTML or image" and enter some text below there, click OK, and open a new memo, do you get the text signature?

Does this also not work when you click REPLY?
0
 
gram77Author Commented:
A text signature works when i select reply and create a new memo
0
 
qwaleteeCommented:
OK, so that indicates that the profile is being processed -- you changed the signature settings, it changed what you inserted signature contains.  Good.  So now, we have to get back to the processed file.

Please change it back to HTML signature, using your original HTML file.  Verify that your signature changes back to HTML.

Then, edit your HTML file, make some small change (say, add or remove your title).  Create another message, verify that the signature changes.  This will confirm that it is actually using the HTML file you think it is using.

If it is in fact using that HTML file, we are finally going to resolve getting the file to result in a signature that is appealing to you.  But first, let's complete the steps above.
0
 
gram77Author Commented:
The signature has changed to HTML.

I also changed the text of the HTML signature and I could see the changes in Lotus 7 New Memo.

However, when i paste your html code onto the .htm file, the text appears with all tags

<html>

<head>
<title>Regards,</title>
</head>

<body lang=EN-GB link=blue vlink=blue><font size=2 face="Tahoma,Helv,Univers,Verdana,Arial">
<br><br>
Regards,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sjef Bosman<br><br>

<font size=1>
WWW: http://www.bosman.fr<br>
MAIL: <br>
t?l?phone:      +000000000<br>
</font></font></body>

</html>
0
 
Sjef BosmanGroupware ConsultantCommented:
What editor do you use to create the HTML-file??
0
 
gram77Author Commented:
Microsoft Word
0
 
Sjef BosmanGroupware ConsultantCommented:
Try Notepad, or any plain text editor, or make absolutely sure that Word writes a plain textfile!
0
 
gram77Author Commented:
sjef_bosman:

Thanks it worked.

I saved the file in notepad and The signature appears as intended.
0
 
Sjef BosmanGroupware ConsultantCommented:
Ah! Splendid!
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 14
  • 14
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now