A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outgoing mail add disclaimer



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 8th 07, 08:13 AM posted to microsoft.public.outlook.program_vba
leo
external usenet poster
 
Posts: 12
Default Outgoing mail add disclaimer

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?
  #2  
Old February 1st 07, 02:07 AM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Outgoing mail add disclaimer

Look at server-based solutions. See http://www.slipstick.com/addins/content_control.htm

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Leo" wrote in message ...
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?

  #3  
Old February 5th 07, 02:27 PM posted to microsoft.public.outlook.program_vba
Michael
external usenet poster
 
Posts: 165
Default Outgoing mail add disclaimer

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

"Sue Mosher [MVP-Outlook]" wrote:

Look at server-based solutions. See http://www.slipstick.com/addins/content_control.htm

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Leo" wrote in message ...
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?


  #4  
Old February 5th 07, 02:33 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Outgoing mail add disclaimer

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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Michael" wrote in message ...
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

"Sue Mosher [MVP-Outlook]" wrote:

Look at server-based solutions. See http://www.slipstick.com/addins/content_control.htm



"Leo" wrote in message ...
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?


  #5  
Old February 7th 07, 09:18 AM posted to microsoft.public.outlook.program_vba
Michael
external usenet poster
 
Posts: 165
Default Outgoing mail add disclaimer

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
  #6  
Old February 7th 07, 01:21 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Outgoing mail add disclaimer

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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Michael" wrote in message ...
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

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook Add-In to add a CC address to outgoing email Kevin Tambascio Add-ins for Outlook 2 November 11th 06 11:24 PM
Won't assign default mail account for outgoing mail bjgobble Outlook Express 4 July 30th 06 02:40 PM
Outlook Disclaimer message Marilyn Add-ins for Outlook 3 June 14th 06 06:14 PM
How to add a bitmap footer to each outgoing email programmatically Herve cadieu Outlook and VBA 3 March 13th 06 06:39 PM
Add disclaimer to out going e-mails? Jeff Donofrio Outlook and VBA 4 January 10th 06 04:14 PM


All times are GMT +1. The time now is 10:19 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.