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

Sending Customized Forms Externally



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 23rd 07, 05:54 PM posted to microsoft.public.outlook.program_forms
Richard
external usenet poster
 
Posts: 114
Default Sending Customized Forms Externally

Hi-

I need some way of shipping people external to my agency at least the
contents of a customized form, even if I lose the formatting. The only
method I can think at present is to build a button to execute some sort of
macro or code onto a customized form that saves the form as text, and then
attaching that text to the e-mail that goes externally.

The goal of the form is notify residential providers that we need placement
for an especially troubled child, while supplying the providers with all the
steps, dates and decisions (and the full list of people involved in those
decisions) that have been completed to date by my agency's staff.

Thanks for your help and suggestions.

I use Outlook 2000, others have 2003.

--
Richard
Ads
  #2  
Old February 23rd 07, 06:58 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Sending Customized Forms Externally

You're on the right track. What you need to do is create a completely new message (Application.CreateItem), populate its Recipients collection, set its Subject and HTMLBody properties and send that message, not the custom form message. You should never send a custom form message externally.

--
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

"Richard" wrote in message ...
Hi-

I need some way of shipping people external to my agency at least the
contents of a customized form, even if I lose the formatting. The only
method I can think at present is to build a button to execute some sort of
macro or code onto a customized form that saves the form as text, and then
attaching that text to the e-mail that goes externally.

The goal of the form is notify residential providers that we need placement
for an especially troubled child, while supplying the providers with all the
steps, dates and decisions (and the full list of people involved in those
decisions) that have been completed to date by my agency's staff.

Thanks for your help and suggestions.

I use Outlook 2000, others have 2003.

--
Richard

  #3  
Old March 2nd 07, 11:11 PM posted to microsoft.public.outlook.program_forms
Richard
external usenet poster
 
Posts: 114
Default Sending Customized Forms Externally

Sue-

I'm totally inexperienced in this. Does my customized form have to be
published internally for this to work?

I do have someone who can help me with VBA code, but I better know the
quirks of Outlook...
--
Richard


"Sue Mosher [MVP-Outlook]" wrote:

You're on the right track. What you need to do is create a completely new message (Application.CreateItem), populate its Recipients collection, set its Subject and HTMLBody properties and send that message, not the custom form message. You should never send a custom form message externally.

--
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

"Richard" wrote in message ...
Hi-

I need some way of shipping people external to my agency at least the
contents of a customized form, even if I lose the formatting. The only
method I can think at present is to build a button to execute some sort of
macro or code onto a customized form that saves the form as text, and then
attaching that text to the e-mail that goes externally.

The goal of the form is notify residential providers that we need placement
for an especially troubled child, while supplying the providers with all the
steps, dates and decisions (and the full list of people involved in those
decisions) that have been completed to date by my agency's staff.

Thanks for your help and suggestions.

I use Outlook 2000, others have 2003.

--
Richard


  #4  
Old March 3rd 07, 02:05 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Sending Customized Forms Externally

Yes, if you want a custom Outlook form to run code, it must be published. Unpublished forms don't run code.

The programming language for code behind an Outlook form is VBScript, not VBA.

--
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

"Richard" wrote in message ...
Sue-

I'm totally inexperienced in this. Does my customized form have to be
published internally for this to work?

I do have someone who can help me with VBA code, but I better know the
quirks of Outlook...
--
Richard


"Sue Mosher [MVP-Outlook]" wrote:

You're on the right track. What you need to do is create a completely new message (Application.CreateItem), populate its Recipients collection, set its Subject and HTMLBody properties and send that message, not the custom form message. You should never send a custom form message externally.

"Richard" wrote in message ...
Hi-

I need some way of shipping people external to my agency at least the
contents of a customized form, even if I lose the formatting. The only
method I can think at present is to build a button to execute some sort of
macro or code onto a customized form that saves the form as text, and then
attaching that text to the e-mail that goes externally.

The goal of the form is notify residential providers that we need placement
for an especially troubled child, while supplying the providers with all the
steps, dates and decisions (and the full list of people involved in those
decisions) that have been completed to date by my agency's staff.


  #5  
Old March 9th 07, 04:25 PM posted to microsoft.public.outlook.program_forms
Richard
external usenet poster
 
Posts: 114
Default Sending Customized Forms Externally

Sue-

Thanks again for your attention.

To create the e-mail that goes externally, do I create the e-mail from the
custom form in the act of sending or writing the custom form to internal
users, or do I run the code after the internal e-mail has been sent?

I'd like to create the external e-mail from within the process of sending
the internal custom e-mail, as it allows me to test user access to that
feature (only certain users will be allowed to send external e-mail). I'm
not in our main IS shop so I have very little flexibility as to what tools I
have available. Any ideas of what key words to use to search for examples of
code are greatly appreciated.

By the way, I've put your book on Outlook programming in the VBA
programmers' hands whose helping me over the next two days...
--
Richard


"Sue Mosher [MVP-Outlook]" wrote:

Yes, if you want a custom Outlook form to run code, it must be published. Unpublished forms don't run code.

The programming language for code behind an Outlook form is VBScript, not VBA.

--
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

"Richard" wrote in message ...
Sue-

I'm totally inexperienced in this. Does my customized form have to be
published internally for this to work?

I do have someone who can help me with VBA code, but I better know the
quirks of Outlook...
--
Richard


"Sue Mosher [MVP-Outlook]" wrote:

You're on the right track. What you need to do is create a completely new message (Application.CreateItem), populate its Recipients collection, set its Subject and HTMLBody properties and send that message, not the custom form message. You should never send a custom form message externally.

"Richard" wrote in message ...
Hi-

I need some way of shipping people external to my agency at least the
contents of a customized form, even if I lose the formatting. The only
method I can think at present is to build a button to execute some sort of
macro or code onto a customized form that saves the form as text, and then
attaching that text to the e-mail that goes externally.

The goal of the form is notify residential providers that we need placement
for an especially troubled child, while supplying the providers with all the
steps, dates and decisions (and the full list of people involved in those
decisions) that have been completed to date by my agency's staff.



  #6  
Old March 9th 07, 04:28 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Sending Customized Forms Externally

I'd do it in the Item_Send event handler of the custom form, calling Application.CreateItem to create the external message, then populating its properties and sending it.

--
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

"Richard" wrote in message ...
Sue-

Thanks again for your attention.

To create the e-mail that goes externally, do I create the e-mail from the
custom form in the act of sending or writing the custom form to internal
users, or do I run the code after the internal e-mail has been sent?

I'd like to create the external e-mail from within the process of sending
the internal custom e-mail, as it allows me to test user access to that
feature (only certain users will be allowed to send external e-mail). I'm
not in our main IS shop so I have very little flexibility as to what tools I
have available. Any ideas of what key words to use to search for examples of
code are greatly appreciated.

By the way, I've put your book on Outlook programming in the VBA
programmers' hands whose helping me over the next two days...
--
Richard


"Sue Mosher [MVP-Outlook]" wrote:

Yes, if you want a custom Outlook form to run code, it must be published. Unpublished forms don't run code.

The programming language for code behind an Outlook form is VBScript, not VBA.



"Richard" wrote in message ...
Sue-

I'm totally inexperienced in this. Does my customized form have to be
published internally for this to work?

I do have someone who can help me with VBA code, but I better know the
quirks of Outlook...
--
Richard


"Sue Mosher [MVP-Outlook]" wrote:

You're on the right track. What you need to do is create a completely new message (Application.CreateItem), populate its Recipients collection, set its Subject and HTMLBody properties and send that message, not the custom form message. You should never send a custom form message externally.

"Richard" wrote in message ...
Hi-

I need some way of shipping people external to my agency at least the
contents of a customized form, even if I lose the formatting. The only
method I can think at present is to build a button to execute some sort of
macro or code onto a customized form that saves the form as text, and then
attaching that text to the e-mail that goes externally.

The goal of the form is notify residential providers that we need placement
for an especially troubled child, while supplying the providers with all the
steps, dates and decisions (and the full list of people involved in those
decisions) that have been completed to date by my agency's staff.



 




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
Reply/Forward with Customized Forms Ivan Cespedes Outlook - Using Forms 10 October 5th 06 08:10 PM
Customized Forms Help mbe Outlook - Calandaring 0 July 18th 06 09:55 PM
customized forms in outlook Srinivas Add-ins for Outlook 1 July 7th 06 12:54 PM
Problem with customized outlook forms Muhammad Usman Outlook - Using Forms 5 April 25th 06 07:07 PM
Customized task forms should retain characteristics when assigned OldDogNewTricks Outlook - Using Forms 1 April 20th 06 04:01 AM


All times are GMT +1. The time now is 11:17 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.