In Microsoft Outlook you can have several accounts configured. When you select an email and click the Reply button or Reply to All button on a received email you can choose which account to send from using the Account button under the Send button.
Normally the default Exchange account is selected but you can choose any configured account to send from.
What I want is a Macro or Outlook VBA code to run when the Outlook Reply or Reply to All button is clicked that will look at the domain name of the To... address field and if there is an account configured for that domain in Outlook then set that account as the reply account to use.
Therefore if I reply to admin@[login to view URL] then my reply account configured as alex@[login to view URL] would be used for the reply and if I reply to an email sent from admin@[login to view URL] then the account used to reply would change to the configured account alex@[login to view URL]
Where emails received coming from say admin@[login to view URL] are replied to - as I don't have an account configured for [login to view URL] then the default Outlook account would be used as normal.
Note: I might have 10 or more accounts configured in Outlook. One account for exchange and 9 or more POP3/Imap accounts.
The code needs to work for Outlook 2007 and later
When the correct account is selected this should create the new outgoing email with the correct signature file used, the same as if the account to send from was selected manually.
The code does not need to create accounts, just select them for the reply address to be used and the Signature file to be the correct one for the account.
Please ask any questions for details and clarification. I will provide feedback when testing the code.
I need all the code provided in plain text and not encrypted as I wish to develop this further.
I write basic VBA code for Excel myself so can answer technical questions.
This is not an urgent project so there is no deadline.
Documentation is not necessary but a list of steps to install the Macro/VBA code would be useful.
14 freelancere byder i gennemsnit £172 på dette job
Hey, How are you? As you can see my reviews, i have good skills in [login to view URL] i can help you if you want. I will never disappoint you. Hope to work with you. Thank.
Hi. I am an expert in VBA, VBScript, Visual Basic, C#, F#, C, C++, ASM, Delphi, Java, iMacros, Flash, ASP, ASP.NET, Access, MySQL, MSSQL, QuickBooks, Oracle