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 » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Create OlItemType.olMailItem via Redemption



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 25th 08, 10:22 PM posted to microsoft.public.outlook.program_addins
j
external usenet poster
 
Posts: 109
Default Create OlItemType.olMailItem via Redemption


Hi,

WinXP SP2, Outlook 2003, .NET 2.0 C#.


I have win application that one of it feature is open mailItem window
( inspector ).
Currently i do the next:

Microsoft.Office.Interop.Outlook.Application app = new
Microsoft.Office.Interop.Outlook.Application();

MailItem mItem =
(MailItem)app.OutlookInstance.CreateItem(OlItemTyp e.olMailItem);
mItem.Subject = "bla bla bla";
.............
...........

mailItem.Display(false);

In case Outlook isn't running it's automatically starts and after
pressing the Send button on the inspector the process closed.
The snippet above works pretty good.

My question is how can i do the same but via Redemption and not using
OOM at all.

Outlook will be installed but not sure if it will be running when user
will click to write mail.


Thank you.
Ads
 




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
Create OlItemType.olMailItem via Redemption j Add-ins for Outlook 1 October 26th 08 08:22 PM
create Macro, Outlook 2007 - create is grayed out Dave Horne[_2_] Outlook - General Queries 2 November 4th 07 09:45 AM
Moving data from Form Item to olMailItem djohnson Outlook - Using Forms 5 August 10th 06 05:41 AM
Undocumented Function? How to know for an olMailItem if it has been "replied" or "forwarded" 9online Outlook and VBA 1 February 15th 06 03:39 PM
olmailitem from word or excel MarcoPolo Outlook and VBA 2 January 27th 06 03:42 PM


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