Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

centralised exchange signature

Posted on 2011-09-04
7
Medium Priority
?
359 Views
Last Modified: 2012-05-12
hi experts, is there any free tool to centralised exchange signature, pulling information from AD?
0
Comment
Question by:sam39
[X]
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
  • 3
  • 2
  • 2
7 Comments
 
LVL 27

Expert Comment

by:davorin
ID: 36481449
In exchange 2010 is built in.
For other versions I don't know any free programs.
0
 
LVL 27

Expert Comment

by:davorin
ID: 36481467
0
 
LVL 7

Expert Comment

by:BobintheNoc
ID: 36481975
Here's the script we use in our environment.  It's VBScript, and it's simply a user based logon script.  When run, it queries a variety of attributes on an AD user object, and creates a sig file for Outlook.

This one collects a few different attributes, including department, phone, fax, mobile, etc.,  Should get you going pretty well.
---------------
On Error Resume Next

Set objSysInfo = CreateObject("ADSystemInfo")

strUser = objSysInfo.UserName
Set objUser = GetObject("LDAP://" & struser)

strName = objUser.FullName
strTitle = objUser.Title
strDepartment = objUser.Department
strCompany = objUser.Company
strPhone = objUser.telephoneNumber
strPager = objuser.pager
stremail = objuser.mail
strFax = objuser.faxnumber
strmobile = objuser.mobile
strWeb = "www.yourdomain.com"

If lcase(right(stremail,8)) = "yourdomain.com" then

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.Font.Size = "12"
objSelection.Font.Name = "Garamond"
objSelection.Font.Color = "-587137025"
objSelection.Font.Bold = True
objSelection.TypeText strName
objSelection.TypeText Chr(11)
objSelection.TypeText strTitle
objSelection.TypeText Chr(11)
objSelection.Font.Bold = False
objSelection.TypeText "Company Name"
objSelection.TypeText Chr(11)
objSelection.TypeText "Another line of text"
objSelection.TypeText Chr(11)

if strPager <> "" then
objSelection.TypeText "Office: " & strPager
objSelection.TypeText Chr(11)
else
      if strPhone <> "" then
      objSelection.TypeText "Office: " & strPhone
      objSelection.TypeText Chr(11)
      end if
end if

if strmobile <> "" then
objSelection.TypeText "Mobile: " & strmobile
objSelection.TypeText Chr(11)
end if

if strFax <> "" then
objSelection.TypeText "Fax: " & strFax
objSelection.TypeText Chr(11)
end if

objSelection.TypeText "Email: "
objSelection.Hyperlinks.Add objSelection.Range, "mailto:" & strEmail,,, strEmail
Set objSelection = objDoc.Range(objSelection.End-Len(strEmail & " "),objSelection.End)
With objSelection.Font
      .Name = "Garamond"
      .Size = "12"
End With
Set objSelection = objWord.Selection


------
0
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 

Author Comment

by:sam39
ID: 36484381
How do i change font and colors and add logo for this?

<br>%%FirstName%%
%%LastName%%<br>
%%Title%%<br>
%%Company%%<br>
Phone:%%PhoneNumber%%<br>
Email:%%Email %%<br>
0
 

Author Comment

by:sam39
ID: 36484386
i cant use login script, because exchange is in different domain
0
 
LVL 27

Accepted Solution

by:
davorin earned 1000 total points
ID: 36485351
Use plain html code for that. But logo must be available over public accessible web site.

http://blog.chrislehr.com/2009/07/exchange-2010-hub-transport-building.htm

You can use Ms Word to create html signature, but it can get quite big html code.
Any other program for html is good (better) or you can just use notepad for editing the html code.
Insert image: http://www.w3schools.com/html/html_images.asp
<img src="http://www.yourdomain.com/logoimage.jpg" />

Font & color: http://www.w3schools.com/html/html_fonts.asp
0
 
LVL 7

Expert Comment

by:BobintheNoc
ID: 36485443
In the above script, it's purely querying the Attributes of an Active Directory Account and uses fields if they're present on the AD object.  It doesn't matter which domain the Exchange server is on--at least I don't think it does.

To change the font, look for the word Garamond in the script.  Change it to your choice of font, and size.  The color portion is trickier.  The CHR(11) represents the color.  I'm not recalling the actual source chart of this color reference, and when I do change the color options, it's not always consistent depending on the os and version of Outlook on the client.

As davorin states, yep, plain html.  This script creates a few versions of your signatures, with an HTML version included.  Adding the code to the script though, is another story.  Since the script creates the multiple versions of the signature, the plain text signature(s) wouldn't be able to support the HTML logo.

0

Featured Post

Independent Software Vendors: 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!

Question has a verified solution.

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

By default Outlook 2016 displays only one time zone in the Calendar. The following article explains how to display two time zones in one calendar view.
With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

636 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