My purpose here is to append the signature (script output) to each mail leaving the organization. I don't want any interference from the users. The signature should be automatically appended to all mails (like the disclaimer). I tried my best to do that but I did not reach any where.
I'm using this script which works fine with me, I'm pasting it here try this it will work for you as well
........ objShape = objSelection.InlineShapes.AddPicture(\\temp\logo.jpeg) ........ I hope it will solve your problem.
Cheers omer
Brilliant solution man thanks allot but....I have a question about the logo... Where is this folder \ file at? Is it on the server or on the client machine? Can you shed some more light on this feature please?? I can't get this option to work proparly...
Well it does looks brillient, but it doesn't works for me i've tryed both ways by making a folder into user machine and sharing a folder from server, so end up with a software called exclaimer signature utitlity it works with both outlook and OWA. www.exclaimer.com
dude if you find any ways to bring the image through the script please do let me know.
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
Exchange OWA Signatures can also be scripted. It is not trivial and not documented, and it is totally different between Ex2003 and Ex2007 (thanks, Microsoft!), but I got it to work with VBS scripts in both versions.
please i want to make my signature format like his format below
i need help please .....
thnaks
Preena Nayanasudhan
Application Support Administrator ITEC - Corporate Phone: (234) 1- 4355435 Ext. 175 Mobile: (234) 9- 342234 Fax: (234) 3243444 www.itec.com We'll take it from here…
First of all the fields will be taken from active directory but still you can add some of the items manually into signature like your website disclaimer and much more i am posting only part of the code which will explain that how to minpulate with fonts and how to add text like phone, fax and web sites.
Example:
objSelection.Font.Size = "10" ' Mention the font size here objSelection.Font.Name = "Verdana" ' Mention the font here "Arial...etc" objSelection.Font.Bold = true ' true will make text bold and false will make text unbold.
objSelection.TypeText strAddress objSelection.TypeParagraph() objSelection.TypeText "Tel: " & strPhone 'text in bold will come before the telephone number like "Tel: 009.......etc" objSelection.TypeParagraph() objSelection.TypeText "Fax: " & strFax objSelection.TypeParagraph() objSelection.TypeText "Mob: " & strMobile
objSelection.TypeText "http://msexchang.org" 'here add your website'
I hope this will help, you just can copy and past and change the font size and font name or you can add more fields if required.
please i want to make my signature format like his format below
i need help please .....
thnaks
Preena Nayanasudhan
Application Support Administrator ITEC - Corporate Phone: (234) 1- 4355435 Ext. 175 Mobile: (234) 9- 342234 Fax: (234) 3243444 www.itec.com We'll take it from here…
First of all the fields will be taken from active directory but still you can add some of the items manually into signature like your website disclaimer and much more i am posting only part of the code which will explain that how to minpulate with fonts and how to add text like phone, fax and web sites.
Example:
objSelection.Font.Size = "10" ' Mention the font size here objSelection.Font.Name = "Verdana" ' Mention the font here "Arial...etc" objSelection.Font.Bold = true ' true will make text bold and false will make text unbold.
objSelection.TypeText strAddress objSelection.TypeParagraph() objSelection.TypeText "Tel: " & strPhone 'text in bold will come before the telephone number like "Tel: 009.......etc" objSelection.TypeParagraph() objSelection.TypeText "Fax: " & strFax objSelection.TypeParagraph() objSelection.TypeText "Mob: " & strMobile
objSelection.TypeText "http://msexchang.org" 'here add your website'
I hope this will help, you just can copy and past and change the font size and font name or you can add more fields if required.
Omer,
thanks for your help
but i need do edit color to my signature plz tell me how
Set objWord = CreateObject("Word.Application") objWord.Visible = False
Set objDoc = objWord.Documents.Add() Set objSelection = objWord.Selection Set objRange = objDoc.Range()
Set objEmailOptions = objWord.EmailOptions Set objSignatureObject = objEmailOptions.EmailSignature Set objSignatureEntries = objSignatureObject.EmailSignatureEntries
System Administrator book antique+10 Company Phone: +31 (0)******* book antique+10 Mobile: 06 11 ** ** ** book antique +10 Fax: +31 (0)******* book antique +10 www.website.nl book antique + +10
We'll take it from here... book antique+ bold + italc+11
please please
i want to colored all my signature with blue i want space between my home page and (we'll talke it from here ..)
thanks for you
< Message edited by yasserkgl -- 15.Apr.2009 1:59:34 PM >
Set objWord = CreateObject("Word.Application") objWord.Visible = False
Set objDoc = objWord.Documents.Add() Set objSelection = objWord.Selection Set objRange = objDoc.Range()
Set objEmailOptions = objWord.EmailOptions Set objSignatureObject = objEmailOptions.EmailSignature Set objSignatureEntries = objSignatureObject.EmailSignatureEntries
System Administrator Company Phone: +31 (0)************* Mobile: 06 **** Fax: +31 ********* www.website.nl We'll take it from here...
(In your signature, all the text is blue but the 'www.website.nl' text is red)
You can now just copy and paste this in a notepad document and save it as 'signature.vbs' ... If you now open this file (or call it with a loginscript)
EDIT2:
You can also use your logo, if you've got a smaller one somewhere :P:
Set objWord = CreateObject("Word.Application") objWord.Visible = False
Set objDoc = objWord.Documents.Add() Set objSelection = objWord.Selection Set objRange = objDoc.Range()
Set objEmailOptions = objWord.EmailOptions Set objSignatureObject = objEmailOptions.EmailSignature Set objSignatureEntries = objSignatureObject.EmailSignatureEntries
----------------------------------- Now your company logo is beneath your signature You can edit the logo-path with this part: strLogo = "http://www.kgllogistics.com/Images/1.gif"
you can edit the way the signature will be added (for example; if you don't want the signature to be added when you replay a message, you change it to this:
Set objWord = CreateObject("Word.Application") objWord.Visible = False
Set objDoc = objWord.Documents.Add() Set objSelection = objWord.Selection Set objRange = objDoc.Range()
Set objEmailOptions = objWord.EmailOptions Set objSignatureObject = objEmailOptions.EmailSignature Set objSignatureEntries = objSignatureObject.EmailSignatureEntries
Set objWord = CreateObject("Word.Application") objWord.Visible = False
Set objDoc = objWord.Documents.Add() Set objSelection = objWord.Selection Set objRange = objDoc.Range()
Set objEmailOptions = objWord.EmailOptions Set objSignatureObject = objEmailOptions.EmailSignature Set objSignatureEntries = objSignatureObject.EmailSignatureEntries