Outgoing mail add disclaimer

L

Leo

Hello,

I'm not included in Exchange administrators group, but all of our users have
to add disclaimer in security statement for outgoing mails.

I would like to add the text at the end of the outgoing mails for all users
at the same time by group policy.

How can I do?
 
M

Michael

Hi,
I have the same problem, but I have to add a disclaimer right on the clients
once they create new mails, answer or forward mails, to avoid S/MIME
signature breaches.
Could you please advise what to do (or problably provide a small code
snippet? ;-) ) on how to achieve that?
I tried to add a signature within the new inspector but it won´t show up,
regardless what I tried.
Any hints would be very helpful.

Thanks in advance,
Michael
 
S

Sue Mosher [MVP-Outlook]

Try using the Application_ItemSend event, and remember that your code would need to accommodate all three message formats -- plain text, HTML, and RTF. THere is no simple solution for this. See http://www.outlookcode.com/d/formatmsg.htm

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
M

Michael

Hi Sue,
thank you for your quick answer. I found out that another COM-Addin occupies
the Send Event so that I am not able to determine what Addin comes and serves
first.
Now, I tried to use the mail.read event in my own COM-Addin, or the
mail.forward, the mail.reply or the mail_replytoall event, having in mind
that the users can see and delete the disclaimer. What I now noticed is that
the event does not get hit at all....
Here´s a small excerpt what I tried:
....
Dim WithEvents oMail As Outlook.MailItem 'Declared in Public Class Connect
....
Private Sub oMail_Forward(ByVal oItem As Object, ByRef cancel As Boolean)
Handles oMail.Forward
Dim eMail As Outlook.MailItem
If TypeOf oItem Is Outlook.MailItem Then
eMail = CType(oItem, Outlook.MailItem)
eMail.Body = "Test Body" & eMail.Body
End If
End Sub

.... was I completely wrong?

Thanks again for any hint...

Michael
 
S

Sue Mosher [MVP-Outlook]

Reply and Forward won't help you with completely new messages. If you want to take that approach, then use the Inspectors.NewInspector and Inspector.Activate events. But be prepared for people to delete the disclaimer.

Doing it at the server is the only way to ensure that it is actually attached to each message.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

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