embedding dynamic data in signature file

D

don vito

Is it possible to add dynamic data to a Outlook signature file (i.e.
text / a hrefs) originating from a webserver.
There is no use to execute script, only to access a webserver that
generates some simple html which will be included in the signature.

I have no experience in VB or macros but is that where I should start?

Thanks in advance
 
M

Michael Bauer

Am 12 Jun 2006 09:53:25 -0700 schrieb don vito:

Yes, it´s possible. If you like to update the sig e.g. once per day it´s
quite easy, simply edit that file when OL starts.

If you like to update the sig per e-mail and Outlook is configured to insert
the sig automatically then it would be harder to archive because in the
NewInspector event the sig is read already but the e-mail´s body is still
empty. I´d suggest to change the setting and not to insert the sig
automatically, but do it by code.
 
D

don vito

@Michael

Thanks Michael.

The problem is that i don't (and don't want to) have daily access to
the sig file.
I would like the data to be added/embedded to the sig file dynamically.

It's easy to embed an image loaded externally, but I'would like to add
a dynamic <a href...> etc.

Michael said:
Am 12 Jun 2006 09:53:25 -0700 schrieb don vito:

Yes, it´s possible. If you like to update the sig e.g. once per day it´s
quite easy, simply edit that file when OL starts.

If you like to update the sig per e-mail and Outlook is configured to insert
the sig automatically then it would be harder to archive because in the
NewInspector event the sig is read already but the e-mail´s body is still
empty. I´d suggest to change the setting and not to insert the sig
automatically, but do it by code.

What do mean with "do it by code". With a command that the user has to
execute him/herself?
 
M

Michael Bauer

Am 13 Jun 2006 00:26:30 -0700 schrieb don vito:

The file for the signature is located on your local computer and you do have
access to it at any time (if the user has one created at all). Do you mean
that you don´t have access to the webserver from which you like to read the
new data for the signature?

So when or caused by what action do you want to update your signature? I
could think of:
1. For each new e-mail (probably more than once per day)
2. If OL starts (probably at least once per day)
3. On a button click

For #2 and #3 it´s easy to edit the sig file before an e-mail is being
created.

For #1 I remember another, easier way than the one suggested yesterday:
Create the sig file and use a placeholder for the dynamic content. Use a
variable, declared WithEvents on the module level for the Inspector. In the
NewInspector event set that variable, which enables you to get the
Inspector_Activate event right after that. In that event the signature is
added by OL already and you can use the Replace function to replace the
palceholder by your dynamic content.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top