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

Forwarding Message With Full Headers



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 6th 06, 03:22 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Forwarding Message With Full Headers

What version of Outlook?

For versions earlier than Outlook 2007 you have to use an alternate API to
get at the message headers. An example using CDO 1.21 (an optional
installation for versions earlier than 2007) is at
http://www.slovaktech.com/code_sampl...nternetHeaders. However, you
will get the security warnings using CDO. You wouldn't with Extended MAPI
but that can only be programmed using C++ or Delphi. An alternative is
Redemption (www.dimastr.com/redemption), free for personal use, and working
with PR_TRANSPORT_MESSAGE_HEADERS. There's an example of that on the
Redemption Web site.

Using a right-click menu is a hack for versions before Outlook 2007 and
won't tell you what was clicked on.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Spender" wrote in message
ews.com...
I have never done any VBA programming for Outlook so I'm hoping someone can
help me. What I want to do is forward certain messages, including the full
headers, to my ISP's spamblocking service.

What I currently do is:

1. Right click on the message, choose Options, and copy the full headers.

2. Select the message, click Forward, add the recipient, paste in the full
headers, and send it off.

Doesn't seem like much. But it's a chore on days when I get a lot of spam.

Is there some way I can automate this process? Preferably just by
right-clicking on a message (or better yet, multiple messages) and
selecting "Send to SpamBlock" or some such thing.

Thanks to anyone that can help!


 




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
Option for Download Headers and then Full Items in Registry or GP Jason Bell Outlook - Installation 1 October 27th 06 05:25 PM
Forwarding with Full Envelope Headers Joe Mills Outlook - General Queries 11 October 10th 06 01:11 AM
forwarding email showing full headers cathie Outlook - General Queries 4 October 7th 06 04:18 AM
Outlook 2007 e-mail message headers download but not message body DJR Outlook - Installation 3 September 13th 06 04:00 AM
i keep getting a message `the folder is full' in outlook davidkeithw Outlook - Calandaring 2 January 12th 06 08:25 PM


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