Help Needed with CFG Forms

User avatar
Ailios
Lounger
Posts: 29
Joined: 26 Jan 2010, 17:38

Help Needed with CFG Forms

Post by Ailios »

I'm hoping this is the right away for my questions. In Outlook 2010 I'm attempting to add columns to reveal/show the email addresses for From, To, CC, and BCC. I found and used a CFG form downloaded from Slipstick for the From that works good. I then installed the OutlookSpy program to find the code needed to modified that CFG form to create one that includes all four From, To, CC, and BCC to reveal/show email addresses in the view/columns. In the code below the FromEmailAddress is the same as the original. When I go to Field Chooser > Forms... > Add it and Close, only the From is showing up. What did I do wrong for the To, CC, and BCC? Below is my code.

Code: Select all

;**********The CFG file********** 
[Description] 
MessageClass=IPM.Note.DisplayBCC_W
CLSID={00020D31-0000-0000-C000-000000000046} 
DisplayName=Display From, To, CC and BCC Email Addresses 
Category=Standard 
Subcategory=Form 
Comment=This forms allows the From, To, CC and BCC Email Addresses to be viewed as a 
column 
LargeIcon=IPML.ico 
SmallIcon=IPMS.ico 
Version=1.0 
Locale=enu 
Hidden=1 
Owner=Daisy Brown
Contact=
[Platforms] 
Platform1=Win16 
Platform2=NTx86 
Platform9=Win95 
[Platform.Win16] 
CPU=ix86 
OSVersion=Win3.1 
[Platform.NTx86] 
CPU=ix86 
OSVersion=WinNT3.5 
[Platform.Win95] 
CPU=ix86 
OSVersion=Win95 
[Properties] 
Property01=FromEmailAddress
Property02=DisplayTO_W
Property03=DisplayCC_W
Property04=DisplayBCC_W
[Property.FromEmailAddress] 
Type=30 
NmidInteger=0xc1f 
DisplayName=Display From E-mail Address 
[Property.DisplayTo_W] 
Type=31; ProTag=PR_DISPLAYTO_W
NmidInteger=0xE04 
DisplayName=Display To E-mail Address 
[Property.DisplayCC_W] 
Type=31; ProTag=PR_DISPLAYCC_W
NmidInteger=0xE04 
DisplayName=Display CC E-mail Address 
[Property.DisplayBCC_W] 
Type=31; ProTag=PR_DISPLAYBCC_W
NmidInteger=0xE04 
DisplayName=Display BCC E-mail Address 
[Verbs] 
Verb1=1 
[Verb.1] 
DisplayName=&Open 
Code=0 
Flags=0 
Attribs=2 
[Extensions] 
Extensions1=1 
[Extension.1] 
Type=30 
NmidPropset={00020D0C-0000-0000-C000-000000000046} 
NmidInteger=1 
Value=1000000000000000 
;**********END CFG
Daisy

User avatar
HansV
Administrator
Posts: 78549
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Help Needed with CFG Forms

Post by HansV »

Hi Daisy,

The Types and NmidIntegers aren't quite right. Here is a corrected version:

Code: Select all

;**********The CFG file********** 
[Description] 
MessageClass=IPM.Note.DisplayBCC_W
CLSID={00020D31-0000-0000-C000-000000000046} 
DisplayName=Display From, To, CC and BCC Email Addresses 
Category=Standard 
Subcategory=Form 
Comment=This forms allows From, To, CC and BCC to be viewed as a column 
LargeIcon=IPML.ico 
SmallIcon=IPMS.ico 
Version=1.0 
Locale=enu 
Hidden=1 
Owner=Daisy Brown
Contact=
[Platforms] 
Platform1=Win16 
Platform2=NTx86 
Platform9=Win95 
[Platform.Win16] 
CPU=ix86 
OSVersion=Win3.1 
[Platform.NTx86] 
CPU=ix86 
OSVersion=WinNT3.5 
[Platform.Win95] 
CPU=ix86 
OSVersion=Win95 
[Properties] 
Property01=FromEmailAddress
Property02=DisplayTO_W
Property03=DisplayCC_W
Property04=DisplayBCC_W
[Property.FromEmailAddress] 
Type=31; ProTag=PR_SENDER_EMAIL_ADDRESS_W
NmidInteger=0x0C1F 
DisplayName=Display From E-mail Address 
[Property.DisplayTo_W] 
Type=31; ProTag=PR_DISPLAYTO_W
NmidInteger=0x0E04 
DisplayName=Display To E-mail Address 
[Property.DisplayCC_W] 
Type=31; ProTag=PR_DISPLAYCC_W
NmidInteger=0x0E03 
DisplayName=Display CC E-mail Address 
[Property.DisplayBCC_W] 
Type=31; ProTag=PR_DISPLAYBCC_W
NmidInteger=0x0E02 
DisplayName=Display BCC E-mail Address 
[Verbs] 
Verb1=1 
[Verb.1] 
DisplayName=&Open 
Code=0 
Flags=0 
Attribs=2 
[Extensions] 
Extensions1=1 
[Extension.1] 
Type=30 
NmidPropset={00020D0C-0000-0000-C000-000000000046} 
NmidInteger=1 
Value=1000000000000000 
;**********END CFG
PS I have taken the liberty to edit your signature - it referred to an image on the VirtualDaisy website that is no longer available.
Best wishes,
Hans

User avatar
Ailios
Lounger
Posts: 29
Joined: 26 Jan 2010, 17:38

Re: Help Needed with CFG Forms

Post by Ailios »

Close but not exactly right. I can see those CFG form fields in the field chooser now but they don't reveal what I'm looking for. What I'm trying to do is reveal the 'email address' of the FROM, TO, CC, and BCC in a column. This edit CFG form shows me who it came from and went to, but appears to use the same FROM, TO, CC, and BCC I'd find in the Mail field options. Their names are showing but not their email addresses.

Ultimately, where I'm at is needing to do advanced searches based on email addresses using the query builder function (enabled in registry). As I understand it a simple search using an email address will find what I'm looking for but not when using an advanced search. The query builder is needed to do multiple term searchs. When using an email address in an advanced search it will only find emails if that email address is shown. It will skip over those where it's hidden by the sender or receiver's name. Thus, why I"m trying to find a way to create fields that show the email addresses so I can do an advance multi-term search. This is important because I need to guarantee I've produced all requested emails from a huge archive in a litigation case.
Daisy

User avatar
HansV
Administrator
Posts: 78549
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Help Needed with CFG Forms

Post by HansV »

The "From" entry is the e-mail address of the sender.

OutlookSpy does not list properties that reveal the e-mail addresses of the To:, Cc: and Bcc: recipients, only their display names. If the display names of the To:, Cc: and Bcc: recipients contain an e-mail address, you can extract it, if not you're out of luck. The Bcc: of a message that you received will be blank, of course.
Best wishes,
Hans

User avatar
Ailios
Lounger
Posts: 29
Joined: 26 Jan 2010, 17:38

Re: Help Needed with CFG Forms

Post by Ailios »

I was afraid of that.
Daisy