change default e-mail form

  • Thread starter Thread starter Nader
  • Start date Start date
N

Nader

Hello,

I'd like to modifiy the default e-mail form (outlook 2002) so whenever I
send an e-mail I can add some text automatically without user being able to
see it.

thanks in advance.
 
I'd like to modifiy the default e-mail form (outlook 2002) so whenever I
send an e-mail I can add some text automatically without user being able to
see it.
You modify a standard mail message to behave as you want, publish it and then
set the new published form as your default form. See the following page for
instructions on how to do that.

How to make a Microsoft Outlook custom form the default 8/9/2005
How to make a new Microsoft Outlook form the default for a folder (or the
overall default) and convert existing items
http://www.outlookcode.com/d/newdefaultform.htm - 25 KB

As to your real question, how to create the form in the first place, use a
split form and put your text field on the read page. Password protect the
form. That way, only you or someone who knows the password will be able to
easily examine the text. However, a determined snoop will always be able to
break your password.

You could also put the text in a text box, and hide it. Nobody would find it
till they went looking for it.

In both options, put the code in the Item_open event and test for form size =
0, so it only runs at during the creation process.
 
Thanks for ur answer.

I create a form and I added a vbscript to do what I wanted to do but now I'm
not able to see a preview of my e-mail in outlook. Instead I get a message
that says : "This item contains active content that cannot be displayed in
the preview pane. Open the item to read its contents.".

I've read a couple of message concerning this error and they all said that I
have to update to service pack 3 which I don't want to do.

Is there any other way like add-ins, for me to able to add some text after
the user clicked on the send buttons ?

thanks !
 
Is there any other way like add-ins, for me to able to add some text after
the user clicked on the send buttons ?
Are you asking if, when some user clicks send, at some desktop on another
floor of your building, you will be able to add text to that message. You
are not ever going to be able to do that, short of writing a system-wide
email application to replace Outlook.

However, if you are looking to put something like a copywrite or disclaimer
in a footer, and you are on an Exchange system, the Exchange Administrator
can do that.
 
What I'd like is to add some text to the body of an e-mail after the user as
click
on the send button. It''s only for one user and not for a whole network.

But I need the text to be over the body text.

An exemple :

Before :

hi, everyone this ....



After :

::type=local

hi, everyone this ....


Thanks in advance.
 
What I'd like is to add some text to the body of an e-mail after the user as
click
on the send button. It''s only for one user and not for a whole network.

But I need the text to be over the body text.
Well, I don't know how to do that and also avoid the security checks of which
you complain. Post again, but combine the last two messages so that whoever
wants to respond knows what the real problem is. And maybe make the subject
something like "How to add code and still see message in preview".

Actually, you can avoid some of the security checks by using the Redemption
objects from www.dimastr.com/redemption/ . But I am not sure that you can
avoid the refusal to preview a message with code just using those special
objects.
 
Using a custom form as the default message form is an extremely bad idea. At the very least it will make it highly likely that non-Outlook recipients will not be able to read any files you attach to messages.

In your scenario, the better solution would be to put your code in the user's VBA project, using the Application_ItemSend event handler, setting Body for plain text messages and HTMLBody (with fully HTML tagging) for HTML messages. You can handle RTF messages, too, but need to be aware that setting Body in an RTF message will remove all formatting.

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

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
But how do I add some text to the body.

thanks in advance.

"Sue Mosher [MVP-Outlook]" <[email protected]> a écrit dans le message
de news: (e-mail address removed)...
Using a custom form as the default message form is an extremely bad idea. At
the very least it will make it highly likely that non-Outlook recipients
will not be able to read any files you attach to messages.

In your scenario, the better solution would be to put your code in the
user's VBA project, using the Application_ItemSend event handler, setting
Body for plain text messages and HTMLBody (with fully HTML tagging) for HTML
messages. You can handle RTF messages, too, but need to be aware that
setting Body in an RTF message will remove all formatting.

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

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Item.Body = Item.Body & vbCrLf & "some text"

HTML is more complicated, of course, and requires some knowledge of HTML coding.

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

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


Nader said:
But how do I add some text to the body.

thanks in advance.

"Sue Mosher [MVP-Outlook]" <[email protected]> a écrit dans le message
de news: (e-mail address removed)...
Using a custom form as the default message form is an extremely bad idea. At
the very least it will make it highly likely that non-Outlook recipients
will not be able to read any files you attach to messages.

In your scenario, the better solution would be to put your code in the
user's VBA project, using the Application_ItemSend event handler, setting
Body for plain text messages and HTMLBody (with fully HTML tagging) for HTML
messages. You can handle RTF messages, too, but need to be aware that
setting Body in an RTF message will remove all formatting.


Nader said:
What I'd like is to add some text to the body of an e-mail after the user
as
click
on the send button. It''s only for one user and not for a whole network.

But I need the text to be over the body text.

An exemple :

Before :

hi, everyone this ....



After :

::type=local

hi, everyone this ....
 
It works. Thanks a lot but I've got a pop up coming up everytime which says
: "A program is trying to access e-mail you have ... do you want to allow
this ..? "

Can I avoid this security question ?

I've got outlook 2002 Xp sp3 and I'm using vb6 to create the add-in (a dll
file).

thanks in advance.

"Sue Mosher [MVP-Outlook]" <[email protected]> a écrit dans le message
de %[email protected]...
Item.Body = Item.Body & vbCrLf & "some text"

HTML is more complicated, of course, and requires some knowledge of HTML
coding.

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

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


Nader said:
But how do I add some text to the body.

thanks in advance.

"Sue Mosher [MVP-Outlook]" <[email protected]> a écrit dans le
message
de news: (e-mail address removed)...
Using a custom form as the default message form is an extremely bad idea.
At
the very least it will make it highly likely that non-Outlook recipients
will not be able to read any files you attach to messages.

In your scenario, the better solution would be to put your code in the
user's VBA project, using the Application_ItemSend event handler, setting
Body for plain text messages and HTMLBody (with fully HTML tagging) for
HTML
messages. You can handle RTF messages, too, but need to be aware that
setting Body in an RTF message will remove all formatting.


Nader said:
What I'd like is to add some text to the body of an e-mail after the user
as
click
on the send button. It''s only for one user and not for a whole network.

But I need the text to be over the body text.

An exemple :

Before :

hi, everyone this ....



After :

::type=local

hi, everyone this ....
 
See http://www.outlookcode.com/d/sec.htm for your options with regard to the "object model guard" security in Outlook 2000 SP2 and later versions. There is no simple "off" switch.

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

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
thank you very much for your help Sue.

"Sue Mosher [MVP-Outlook]" <[email protected]> a écrit dans le message
de news: (e-mail address removed)...
See http://www.outlookcode.com/d/sec.htm for your options with regard to the
"object model guard" security in Outlook 2000 SP2 and later versions. There
is no simple "off" switch.

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

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