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 - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

change default e-mail form



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 28th 06, 10:00 AM posted to microsoft.public.outlook.program_forms
Nader
external usenet poster
 
Posts: 29
Default change default e-mail form

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.


Ads
  #2  
Old April 28th 06, 05:28 PM posted to microsoft.public.outlook.program_forms
Hollis Paul [MVP - Outlook]
external usenet poster
 
Posts: 138
Default change default e-mail form

In article , Nader wrote:
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.

--
Hollis Paul
Mukilteo, WA USA


  #3  
Old April 28th 06, 07:40 PM posted to microsoft.public.outlook.program_forms
Nader
external usenet poster
 
Posts: 29
Default change default e-mail form

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 !

"Hollis Paul [MVP - Outlook]" a écrit dans le message de
news: oods...
In article , Nader wrote:
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.

--
Hollis Paul
Mukilteo, WA USA




  #4  
Old April 28th 06, 09:07 PM posted to microsoft.public.outlook.program_forms
Hollis Paul [MVP - Outlook]
external usenet poster
 
Posts: 138
Default change default e-mail form

In article , Nader wrote:
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.

--
Hollis Paul
Mukilteo, WA USA


  #5  
Old May 1st 06, 02:30 PM posted to microsoft.public.outlook.program_forms
Nader
external usenet poster
 
Posts: 29
Default change default e-mail form

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.

"Hollis Paul [MVP - Outlook]" a écrit dans le message de
news: oods...
In article , Nader wrote:
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.

--
Hollis Paul
Mukilteo, WA USA




  #6  
Old May 1st 06, 06:49 PM posted to microsoft.public.outlook.program_forms
Hollis Paul [MVP - Outlook]
external usenet poster
 
Posts: 138
Default change default e-mail form

In article , Nader wrote:
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.

--
Hollis Paul
Mukilteo, WA USA


  #7  
Old May 3rd 06, 02:19 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default change default e-mail form

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

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


  #8  
Old May 9th 06, 04:18 PM posted to microsoft.public.outlook.program_forms
Nader
external usenet poster
 
Posts: 29
Default change default e-mail form

But how do I add some text to the body.

thanks in advance.

"Sue Mosher [MVP-Outlook]" a écrit dans le message
de news: ...
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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

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



  #9  
Old May 9th 06, 04:23 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default change default e-mail form

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

"Nader" wrote in message ...
But how do I add some text to the body.

thanks in advance.

"Sue Mosher [MVP-Outlook]" a écrit dans le message
de news: ...
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" wrote in message
...
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 ....



  #10  
Old May 9th 06, 05:48 PM posted to microsoft.public.outlook.program_forms
Nader
external usenet poster
 
Posts: 29
Default change default e-mail form

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]" a écrit dans le message
de news: ...
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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Nader" wrote in message
...
But how do I add some text to the body.

thanks in advance.

"Sue Mosher [MVP-Outlook]" a écrit dans le
message
de news: ...
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" wrote in message
...
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 ....





 




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
change default e-mail form Nader Outlook and VBA 8 May 10th 06 10:53 AM
How do you change the default display form? Spike9458 Outlook - Using Contacts 1 January 30th 06 04:31 PM
Change Default Send email form to Custom Send email Form Sue Mosher [MVP-Outlook] Outlook - Using Forms 0 January 20th 06 05:33 PM
Why does Outlook 2003 Contact Form change with regional Unicode change [email protected] Outlook - General Queries 0 January 19th 06 03:50 AM
How do I change the default Office Mail form? pbusardo Outlook - Installation 1 January 14th 06 06:40 PM


All times are GMT +1. The time now is 07:57 PM.


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.