![]() |
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
|
|||
|
|||
![]()
I am using Outlook 2003 (but will change to Outlook 2007 within a few
weeks). It is simple to create a new message, e.g. by Set myMessage = Application.CreateItem(0) Is it also possible to create a new message that uses specific stationery (emulating in VBscript the action "New Mail Message using...") -- Peter J. Veger, Best Netherlands |
#2
|
|||
|
|||
![]()
See http://blogs.officezealot.com/legaul...7/21/7581.aspx
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Peter J. Veger" wrote in message ... I am using Outlook 2003 (but will change to Outlook 2007 within a few weeks). It is simple to create a new message, e.g. by Set myMessage = Application.CreateItem(0) Is it also possible to create a new message that uses specific stationery (emulating in VBscript the action "New Mail Message using...") -- Peter J. Veger, Best Netherlands |
#3
|
|||
|
|||
![]()
Maybe my question was not clear enough, so I will give some context.
I am a member of a sailing club with 300 members. When a board member wants to send an e-mail to all members, I start a menu item on the menu Actions with the name 'club distribution'. I then get a form with a few controls (esp. a body control) and VBscript code. The information to distribute is put into this body control. After pushing a button 'send message', the VBscript code creates a mail item with as BCC-field the list of member e-mail adresses from an Access database, the body of the mail item is constructed from the submitted info plus a few texts explaining the way of message sending. We now want to embellish the message: the generated body of the mail item should contain a top banner with the club logo and a bottom banner. So the problem is: is the possible to generate the mail item from stationery and to put the info the two banners? -- Peter J. Veger, Best Netherlands "Sue Mosher [MVP-Outlook]" wrote in message ... See http://blogs.officezealot.com/legaul...7/21/7581.aspx -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Peter J. Veger" wrote in message ... I am using Outlook 2003 (but will change to Outlook 2007 within a few weeks). It is simple to create a new message, e.g. by Set myMessage = Application.CreateItem(0) Is it also possible to create a new message that uses specific stationery (emulating in VBscript the action "New Mail Message using...") -- Peter J. Veger, Best Netherlands |
#4
|
|||
|
|||
![]()
Yes, that's possible, and Eric's sample shows you one method -- by reading the .htm file that holds the stationery. You would then need to insert your content into the HTMLBody of the message that has the stationery content.
Also see http://www.outlookcode.com/d/code/htmlimg.htm if you just want to insert the images directly using the code you already have. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Peter J. Veger" wrote in message ... Maybe my question was not clear enough, so I will give some context. I am a member of a sailing club with 300 members. When a board member wants to send an e-mail to all members, I start a menu item on the menu Actions with the name 'club distribution'. I then get a form with a few controls (esp. a body control) and VBscript code. The information to distribute is put into this body control. After pushing a button 'send message', the VBscript code creates a mail item with as BCC-field the list of member e-mail adresses from an Access database, the body of the mail item is constructed from the submitted info plus a few texts explaining the way of message sending. We now want to embellish the message: the generated body of the mail item should contain a top banner with the club logo and a bottom banner. So the problem is: is the possible to generate the mail item from stationery and to put the info the two banners? -- Peter J. Veger, Best Netherlands "Sue Mosher [MVP-Outlook]" wrote in message ... See http://blogs.officezealot.com/legaul...7/21/7581.aspx -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Peter J. Veger" wrote in message ... I am using Outlook 2003 (but will change to Outlook 2007 within a few weeks). It is simple to create a new message, e.g. by Set myMessage = Application.CreateItem(0) Is it also possible to create a new message that uses specific stationery (emulating in VBscript the action "New Mail Message using...") -- Peter J. Veger, Best Netherlands |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I create a "fillable" message form in Outlook? | odettebs | Outlook - Using Forms | 6 | September 13th 07 07:59 PM |
"The form required to view this message cannot be displayed. Contact your administrator." | Austin Powers | Outlook - General Queries | 2 | May 10th 07 05:34 AM |
Adding an "All Contact Field" to a Message Form | Eric Knopp | Outlook - Using Forms | 1 | March 21st 07 03:44 PM |
Outlook 2007: Why get message "custom form cannot be opened"? | Nick Piazza | Outlook - General Queries | 1 | February 17th 07 07:16 AM |
"The form required to view this message cannot be displayed" | vegas4949 | Outlook - Calandaring | 6 | November 14th 06 12:48 AM |