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

create new mail item from current item



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 23rd 10, 10:24 AM posted to microsoft.public.outlook.program_vba
lindstrom
external usenet poster
 
Posts: 3
Default create new mail item from current item

Greetings,
How can I create a new mail item from the active inspector current item?
Thank you,

---
frmsrcurl: http://msgroups.net/microsoft.public...ok.program_vba
Ads
  #2  
Old May 23rd 10, 04:04 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP][_4_]
external usenet poster
 
Posts: 552
Default create new mail item from current item

Please provide more details on what you want to do. In other words, what does
the current item have to do with the new item you want to create?
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54



"lindstrom" wrote:

Greetings,
How can I create a new mail item from the active inspector current item?
Thank you,

---
frmsrcurl: http://msgroups.net/microsoft.public...ok.program_vba
.

  #3  
Old May 23rd 10, 09:41 PM posted to microsoft.public.outlook.program_vba
lindstrom
external usenet poster
 
Posts: 3
Default create new mail item from current item

Sue,
Many thanks for your reply.
What I'm actually trying to do is to come up with a routine that will forward a mail item to a friend without the "FWD: " in the subject and without the "From,Sent,To,Subject" lines in the message.
One suggestion that I received was to create a new mail item from the current mail item and I've been trying to do that, but so far I've been unsccessful.
DL


---
frmsrcurl: http://msgroups.net/microsoft.public...m-current-item
  #4  
Old May 24th 10, 07:11 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP][_4_]
external usenet poster
 
Posts: 552
Default create new mail item from current item

So you essentially want to resend the item, so that the friend sees it as
coming from you? Outlook has no programmatic way to do that directly. If you
just make a copy of the item (with the MailItem.Copy method), and try to
address and send that, you may get an error that you can't send on behalf of
the original sender. Another approach would be to use SaveAs to save the item
as an .msg file, then use CreateItemFromTemplate to create a new item from
that saved original.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54



"lindstrom" wrote:

Sue,
Many thanks for your reply.
What I'm actually trying to do is to come up with a routine that will forward a mail item to a friend without the "FWD: " in the subject and without the "From,Sent,To,Subject" lines in the message.
One suggestion that I received was to create a new mail item from the current mail item and I've been trying to do that, but so far I've been unsccessful.
DL


  #5  
Old May 25th 10, 03:24 AM posted to microsoft.public.outlook.program_vba
lindstrom
external usenet poster
 
Posts: 3
Default create new mail item from current item

Sue,
I'll try those suggestions and see what happens.
Your assistance is greatly appreciated.
DL

---
frmsrcurl: http://msgroups.net/microsoft.public...m-current-item
 




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
How to create mail item in OL 2007 using MAPI Ivan Add-ins for Outlook 4 October 23rd 07 09:18 AM
Calendar's Current Item DENNIS BROWN Outlook and VBA 11 March 27th 07 03:39 AM
How can I create a outlook appointment item from data in a e-mail? StoltHD Outlook and VBA 6 June 17th 06 09:00 AM
How can I create a outlook appointment item from data in a e-mail? Eric Legault [MVP - Outlook] Outlook and VBA 0 June 15th 06 07:23 PM
How to find out which is the current item shown in the inspector? Michael Reukauff Add-ins for Outlook 1 January 25th 06 03:33 PM


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