Custom Form that allows a single SMTP header to be parsed to Field Chooser?

Status
Not open for further replies.

Chromejob

Member
Outlook version
Email Account
IMAP
I want to use Outlook (11, "2003") to view a CATCH-ALL mailbox[1] via IMAP4 and display, among other SMTP values, the "X-ORIGINAL-TO:" value. Why? I'm reviewing spam being sent to my domain, and many spam messages spoof the TO: field, as well as the FROM:. Some leave it blank (or BCC the address on my domain that was used).

[1] (Sorry, not on Exchange. Mailman or Sendmail on my domain hosted service.)

The headers are stored in PR_TRANSPORT_MESSAGE_HEADERS (Tag num: 0x007D001E). I've created a custom form using instructions here and using OutlookSpy v2, that displays the field, but of course that puts the entire SMTP header in a field in the message list table view. I want to filter that.

The SMTP headers can be viewed by opening a message, through options, sure; I just want the one header line. Outlook offers me the ability to see at a glance various values in the table view ... this one just seems to be a bit more difficult.

Has anyone executed a solution for this that I can adapt? Perhaps something using RegEx?

TIA!
 

Chromejob

Member
Outlook version
Email Account
IMAP
Re: Custom Form that allows a single SMTP header to be parsed to Field Chooser

Example of Outlook displaying spam message values (suspect values highlighted). You can see that opening messages up one at a time to correlate this nonsense would be impractical and time-consuming. Outlook is all about productivity! :)

201202292215_outlook_showing_spammer_spoofing.jpg
 

Chromejob

Member
Outlook version
Email Account
IMAP
Re: Custom Form that allows a single SMTP header to be parsed to Field Chooser

Thanks, Diane! I came here on the recommendation on the other site that you answer questions here ... I didn't expect such a quick answer. :)

Please consider it as an intellectual puzzle as I suspect it's not something tons of users want to do (or would do on the server side instead of client-side). I also realize that another approach might be more effective, e.g. filtering all messages to dynamic folders based on the x-original-to value, thereby exposing the target addresses that way, versus in the single-folder table view.

It was a fun exercise following the instructions linked above, all the same.
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
I'm hot and cold this week on fast answers - I'm in seattle for meetings with the product group and answer what i can between meetings. Sometimes I'm lucky enough to be able to ask the product group for the answer. <g
For this, I will ask the guys who wrote the efc and instructions. They will know if its possible.
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
F Validation on custom task form after task acceptance Outlook VBA and Custom Forms 1
I Error saving screenshots in a custom form in outlook 2016, outlook 365 - ok in outlook 2013, outlook 2010 Outlook VBA and Custom Forms 5
M VbScript for Command Button on Contacts Custom Form Using Outlook 1
G Other users can't see P.2 with custom fields in Form Outlook VBA and Custom Forms 0
O Create a custom contact form - questions before messing things up... Outlook VBA and Custom Forms 4
L Custom Form Tutoral? Outlook VBA and Custom Forms 6
D Lost Access to Custom Form Outlook VBA and Custom Forms 4
M vCard does not have user-defined fields from my custom contact form (365) Using Outlook 1
S Outlook Custom Form Scripting only working when clicking on "Run this form" Outlook VBA and Custom Forms 2
Victor_50 Outlook 2013 Custom Contact Form starts with "E-mail 2" Outlook VBA and Custom Forms 2
C Custom Form (seperate layout pages and message reading pane) Outlook VBA and Custom Forms 0
C Reading Pane for Custom Form Outlook VBA and Custom Forms 2
N Custom Form Controls Not Visible To Recipient Outlook VBA and Custom Forms 3
Randy Redekopp How To Merge Contact Info to Email Custom Form Template Using Outlook 2
D Problem with custom form including _DocSiteControl1 Outlook VBA and Custom Forms 0
C Custom Outlook Form - Populate Information from Radio Button / Check Box Using Outlook 0
W Message class changes of a custom form changes to the default form Using Outlook 2
A Possible to hide ribbon with custom appointment form? Outlook VBA and Custom Forms 3
S Custom Form, copy user field data to message body Outlook VBA and Custom Forms 12
Andrew Quirl Custom form to route requests based on input criteria Outlook VBA and Custom Forms 1
D Using a VBA Custom Form to Send Reoccurring Email Upon Task Completion Outlook VBA and Custom Forms 4
W Setting up a custom form Outlook VBA and Custom Forms 2
A Greyed out checkbox in custom form Outlook VBA and Custom Forms 4
Z Outlook Custom Form: Adding Dropdown(Project Code) at the end of subject Outlook VBA and Custom Forms 0
Z Adding dropdown list using custom form Outlook VBA and Custom Forms 7
J autocomplete function in custom form Using Outlook 1
D Custom form with html hyperlink Outlook VBA and Custom Forms 7
D populating listbox on custom form from Access Outlook VBA and Custom Forms 7
D Custom Form Accept and Reject Command buttons Outlook VBA and Custom Forms 2
D create an html table in outlook custom form 2010 using vba in MsAccess Outlook VBA and Custom Forms 7
Potty Ash MS Outlook 2010 custom form - validation or formula to request user to check a checkbox Outlook VBA and Custom Forms 16
J Custom form code doesn't run Outlook VBA and Custom Forms 2
R Custom Contact Form how to update when loaded. Outlook VBA and Custom Forms 6
G Copy Contact field to Appointment Custom Form Field Outlook VBA and Custom Forms 2
S Custom form with dropdown Using Outlook 0
P Custom form reverts from task Outlook VBA and Custom Forms 1
L Create Custom Form Using Outlook 0
L Outlook Custom Form Using Outlook 2
Diane Poremsky The custom form cannot be opened. Outlook will use an Outlook form instead. New Slipstick.com Articles 0
Y Creating custom appointment request form with multiple mail recipients Outlook VBA and Custom Forms 5
J Can Click to Drag Custom Form Field But Cannot Drop When Designing in Outlook 2007 Outlook VBA and Custom Forms 2
A Custom form not showing when recurrence is set for a meeting Using Outlook 0
A Get shared calendar name or id in custom appointment form Using Outlook 0
A Updated custom form not showing with old items Outlook VBA and Custom Forms 2
C Custom Application Form send Email to Another User Using Outlook 1
G Adding a contact to Outlook with a custom form using Access VBA Outlook VBA and Custom Forms 1
A From box in custom outlook Form Outlook VBA and Custom Forms 0
M Recurring icon for custom form task item Outlook VBA and Custom Forms 6
X Help with custom form which is very similar to Tasks Outlook VBA and Custom Forms 6
T Create custom calendar entry form... Outlook VBA and Custom Forms 3
Similar threads


















































Top