![]() |
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. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
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 |