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

send new unopened mail to file outside outlook



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 31st 06, 07:05 PM posted to microsoft.public.outlook.program_vba
Phyllis
external usenet poster
 
Posts: 15
Default send new unopened mail to file outside outlook

Is there a way to configure Outlook to automatically move unopened, new mail
directly to a folder outside outlook. I do not want to use any additional
software. I was wondering if a macro could accomplish this.
  #2  
Old May 31st 06, 11:22 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default send new unopened mail to file outside outlook

Sure it's possible. You can write all the item delivery trapping code
yourself:

How to create a custom rule using Visual Basic for Applications (VBA) in
Outlook 2002:
http://support.microsoft.com/default...b;en-us;292063

Or have some of that plumbing done for you by doing it this way:

How to create a script for the Rules Wizard in Outlook:
http://support.microsoft.com/default...;en-us;q306108

Then all you really have to do is call the MailItem.SaveAs method, like this
for example:

objItem.SaveAs "C:\MyFolder\Myfilename.txt", olTXT

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Phyllis" wrote:

Is there a way to configure Outlook to automatically move unopened, new mail
directly to a folder outside outlook. I do not want to use any additional
software. I was wondering if a macro could accomplish this.

 




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
outlook 2003 cannot right click on file and send via email mobile Outlook - General Queries 1 May 23rd 06 02:31 AM
how to import mail into outlook from pst file OUTLOOK PROBLEM IMPORTING .PST FILES Outlook - Installation 1 May 4th 06 10:06 PM
Unopened message sends autoreply when deleted [email protected] Outlook - General Queries 0 January 29th 06 11:36 PM
A program is trying to send mail using Item.Send Vitesh Outlook and VBA 1 January 23rd 06 03:25 PM
File send send Link by Email problems in IE after Thunderbird Install Woody Outlook - General Queries 0 January 8th 06 01:26 AM


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