PC Review


Reply
Thread Tools Rate Thread

create new mail item from current item

 
 
lindstrom
Guest
Posts: n/a
 
      23rd May 2010
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
 
Reply With Quote
 
 
 
 
Sue Mosher [MVP]
Guest
Posts: n/a
 
      23rd May 2010
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
> .
>

 
Reply With Quote
 
lindstrom
Guest
Posts: n/a
 
      23rd May 2010
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
D


---
frmsrcurl: http://msgroups.net/microsoft.public...m-current-item
 
Reply With Quote
 
Sue Mosher [MVP]
Guest
Posts: n/a
 
      24th May 2010
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
>


 
Reply With Quote
 
lindstrom
Guest
Posts: n/a
 
      25th May 2010
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
remove item from current item in list box iccsi Microsoft Access Form Coding 3 20th Apr 2009 07:34 PM
remove item from current item in list box iccsi Microsoft Access Form Coding 0 5th Sep 2008 06:58 PM
move notification icon in task bar from past item to current item =?Utf-8?B?U2lyYWp1ZGRpbg==?= Microsoft Outlook Discussion 2 17th Jun 2006 10:41 PM
Create mail item with mail item as attachment eselk@surfbest.net Microsoft Outlook Program Addins 6 7th Jul 2005 04:26 PM
I create a menu item using VB, within a custom contacts form. I do not want the item to be visible in other forms or views. How do I do this?? Tore Microsoft Outlook Form Programming 0 10th Mar 2004 01:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:08 AM.