Share via

How to execute a specific macro code depending on which account an incoming email is addressed to if in Outlook, I have several email accounts configured in Outlook.

Anonymous
2023-05-12T16:55:44+00:00

I have multiple email accounts/mailboxes set up in Outlook. (my personal company account, a windows problem mailbox, a unix problem mailbox, and another a network problem mailbox), and I want to see if there is any way to determine the execution of one or the other code in a macro, depending on which account/mailbox arrives a. In other words, if an email arrives at the Windows mailbox, carry out certain activities through the macro, if it is to the Linux mailbox, execute the same and so on, depending on which mailbox the mail arrives at, perform a specific action linked to that mailbox (FMB ) It's possible? Any ideas?... Thanks

Outlook | Windows | Classic Outlook for Windows | For home

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-05-12T19:38:24+00:00

    Dear TSNorma Cruz.

    Good day! Thank you for posting to Microsoft Community.

    According to your description, the issue of your concern looks like you need to execute a specific macro code depending on which account an incoming email is addressed to if in Outlook.

    I would very much want to assist you further but as exchange online public forum support, we have limited tools to troubleshoot this given issue, it is best for you to contact the Outlook developer tech support team by posting in - Office Development - Microsoft Q&A. Engineers who are dedicated into this environment with rich experience and more resources can then assist efficiently.

    We believe they would conduct in-depth research on the problem you encountered and provide you with more professional assistance.

    In the meantime, I would also like to invite community members and MVPs in the forum to share their knowledge or any workaround and insight on this topic.

    Thanks for your precious time and your understanding would be highly appreciated.

    Best Regards,

    Ashraf | Microsoft Community Moderator

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments