Been playing with some of Exchange 2007's features (some are probably in 2003 but I haven't touched them much).
I've learned that I can use hub transport rules to do some cool things like attach a disclaimer to outgoing messages (with all sorts of filtering options like not on internal messages). It's really cool.
This got me thinking of the next level. Signatures. Ideally signatures that will pull the information (names, numbers, titles, address) out of Active Directory. Simple is ok although the ability to toss in a logo could be cool too.
Two thoughts, either totally automated like the disclaimer (which I think would have the advantage of working in Outlook Web Access as well) or via the Outlook (2007 or possibly 2003) client (again either automated or give the user something to click - there is a Signiture button in Outlook)
I'd like to do this in the method that has the least administrative overhead (scripting and policies - something so I don't have to manually touch anything on the clients and it just works)
Any suggestions on where to start? I'm sure that this is something that many of the admins on this forum have probably delt with.
Its not part of Exchange 2007, but can simply be added into a logon script and then second script in the download package allows your to draw data from AD.
Ok, just downloaded this and looks as though it's exactly what I wanted, but struggling to configure it.
I've managed to pull out most of it, but want to add fax number and web address, and be able to show the difference in fax and phone number. Also it's got carriage returns between each line and want to put some lines such as title in bold.
On Error Resume Next Set objSysInfo = CreateObject("ADSystemInfo") strUser = objSysInfo.UserName Set objUser = GetObject("LDAP://" & strUser) strName = objUser.FullName strTitle = objUser.Title strCompany = objUser.company strAddress = objUser.streetAddress strCounty = objUser.St strPhone = objUser.telephoneNumber strFax = objUser.faxnumber Set objWord = CreateObject("Word.Application") Set objDoc = objWord.Documents.Add() Set objSelection = objWord.Selection Set objEmailOptions = objWord.EmailOptions Set objSignatureObject = objEmailOptions.EmailSignature Set objSignatureEntries = objSignatureObject.EmailSignatureEntries objSelection.TypeText strName & ", " objSelection.TypeParagraph() objSelection.TypeText strTitle objSelection.TypeParagraph() objSelection.TypeText strCompany objSelection.TypeParagraph() objSelection.TypeText strAddress objSelection.TypeParagraph() objSelection.TypeText strCounty objSelection.TypeParagraph() objSelection.TypeText strCompany objSelection.TypeParagraph() objSelection.TypeText strPhone objSelection.TypeParagraph() objSelection.TypeText strFax Set objSelection = objDoc.Range() objSignatureEntries.Add "AD Signature", objSelection objSignatureObject.NewMessageSignature = "AD Signature" objSignatureObject.ReplyMessageSignature = "AD Signature" objDoc.Saved = True objWord.Quit
< Message edited by stuarta -- 7.Aug.2007 10:39:30 AM >
Need to take the space out between the name and title and also spaces in the address. If I take the objSelection.TypeParagraph() it just appears on one line.
I want it to appear as
Name Title
Company Name Address1 Address2 Town Post Code
< Message edited by stuarta -- 16.Aug.2007 11:25:40 AM >
Below is a signature i use. it grabs all the info from AD.
Hello.
I am interested too on automating the Outlook 2007 signatures in my Exchange 2007 environment. Could you explain how do you "inject" the output from your VBS script in the Outlook 2007 signature configuration.
but not just drawing First / Last name out from AD to generate automated email signiture.
I'm also thinking of drawing out the values of the OU from AD, especially in an evnironment where a business has serveral business names and domain names, so that when a company staff sending emails as different business identy the server will attach different business's disclaimer texts.
Thanks everyone it solved 50% of my problem, just littile more is require I want to add logo of our company along with signature......... can anybody tell me how
Thanks everyone it solved 50% of my problem, just littile more is require I want to add logo of our company along with signature......... can anybody tell me how
Hi Umer,
I'm not quite sure about how you used those vbs scripts, can you tell me ?
Thanks for the post but I'm having a small issue in getting it working when I open Outlook.
I put the script in the login script to be run when the user logs in to the machine.
The script works fine since the visibility is True and WinWord will pop-up in the screen and will create the signature (that is OK for now). BUT when I open Outlook 2007 the signature does not appear in the mail body.
Any help?
Thank you in advanced. Br, HimyarJ
< Message edited by HimyarJ -- 23.Mar.2009 12:01:36 AM >
That code worked fine ... but I have another question,
How do I embed the signature in the outgoing mails? Means that how can I assign the signature to any mail sent from that Exchange server? Example of that could be attaching a disclaimer to all SMTP outgoing mails.
I'm still new in M$ Exchange ... any help in that request?
1. There are two ways to send e-mail through MS exchange server. i. MS Outlook ii. Outlook Web Access (OWA)
If you've already attached the signature script with logon script it will become the default signature in MS outlook so all the outgoing e-mails are using the signature.
but if you are using OWA then you need to add the signature manualy for each user in their owa signature or you can use the Exclaimer signature utility can buy from www.exclaimer.com
to add the disclaimer open exchange organizationa Configuration ---> Transport Rule ---> add rule make your disclaimer rule there. NOTE: Disclaimer will appear in delivered mail only.