How to call custom email form when sender = x

Status
Not open for further replies.

MHK

Member
Outlook version
Outlook 2010 32 bit
Email Account
POP3
I want to create a custom email form and to call this form on certain condition e.g. if sender = x if not then the email should open in Outlook standard inbox email form.

Also want know where to save the custom form to avoid overwriting by Outlook upgrade etc. and if I can use (P2) form for this purpose.

Thanks..
 

MHK

Member
Outlook version
Outlook 2010 32 bit
Email Account
POP3
As to the first issue, create a run-a-script rule to change the MessageClass property of new emails when the condition is met.
Thanks Michael,
Could you pl give some more detail may be with an example for this solution?
 

Michael Bauer

Senior Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
Add this to the ThisOutlookSession module, then create a rule to call it:

public sub WhatEver(Mail as outlook.mailitem)
mail.messageclass="name of your custom form"
mail.save
end sub
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
D Create additional custom flag descriptions (other than Send E-Mail, Call etc.) Using Outlook 1
S How to call a procedure from a custom command bar in Outlook 2007 Outlook VBA and Custom Forms 1
J Outlook custom form - VBS call VBA macro Outlook VBA and Custom Forms 3
S Custom VBA forms in Outlook--how to call w/macro? Outlook VBA and Custom Forms 1
R Call a Public Sub when a Flag is clicked on in the Message Preview pane Outlook VBA and Custom Forms 1
CWM030 Call me old if you want. OL 2016 font size out of the box. Using Outlook 3
F Outlook 2016 call to Stop Timer Event Outlook VBA and Custom Forms 4
C Unchecking "Send immediately when connected" does not work on apps that call Outlook Using Outlook 1
N Business Contacts - Call list to include company name Using Outlook 2
J this operation has been cancelled due to restrictions on this computer, Call your system administrat Using Outlook 2
R Do you run Exchange 2010 UM and use call answering rules? Exchange Server Administration 3
T Voicemails from Unified Messaging are showing the extension of the IP Gateway when a call is placed from an external number Exchange Server Administration 1
S need phone number to call for help with outlook 2010. Using Outlook 2
J When I try to click on a link embedded in an email I get an error that says that computer restrictions prevent access. Call the system administrator Using Outlook 1
K Find Me in Call Answering Rule tells callers 'One is not valid' but then dials out anyways Exchange Server Administration 2
R Exchange 2010 UM does not re-direct the call to Exchange 2007 UM server Exchange Server Administration 1
K call a help file when click on a button xml ribbon Outlook VBA and Custom Forms 1
C OL Sub through or by Excel Macro Call Outlook VBA and Custom Forms 1
R Phone Call Start Date - Phone Log BCM (Business Contact Manager) 1
B Good Call Log Concept? Outlook VBA and Custom Forms 5
T exception when I call ActiveDocument.Range(0,0).Editors.Add(-1) Outlook VBA and Custom Forms 2
D Call add-in method from macro? Outlook VBA and Custom Forms 1
M Phone Log Reminder to call back BCM (Business Contact Manager) 1
R Help, Outlook2003 won't quit after call OnDisconnection? Outlook VBA and Custom Forms 3
C How do you call a exe and interact with the output interactively Outlook VBA and Custom Forms 2
S Custom Field Cannot Be Displayed In Views Outlook VBA and Custom Forms 2
D Custom Search Folders not refreshing/updating automatically Using Outlook 0
F Validation on custom task form after task acceptance Outlook VBA and Custom Forms 1
K UDF with formula not showing on Calendar custom view. Outlook VBA and Custom Forms 0
S Create a clickable custom column field Outlook VBA and Custom Forms 0
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
S Reference Custom Fields with VBA Outlook VBA and Custom Forms 2
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
A Custom VBA to sort emails into folders Outlook VBA and Custom Forms 0
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
M Custom Calendar Print Suggestions? Using Outlook 0
K Custom Category Colors Using Outlook 2
N Custom Form Controls Not Visible To Recipient Outlook VBA and Custom Forms 3
E To convert imported data to custom fields in Task list Outlook VBA and Custom Forms 1
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

Similar threads

Top