When using a single Exchange mail account with multiple mailboxes, you'll need to set the From address and not the account.
See: Send As a Delegate or a Distribution Group by default
How to Always Reply and Forward Emails From a Specific Exchange Account in Outlook
Pablo SAEZ
1
Reputation point
this VBA doesn't work on exchange but Kutools addon managed to automate this, I don't want to pay addon just for this option :(
need help
Public Sub ReplyBySpecAccount()
Dim oAccount As Outlook.Account
Dim oMail As Outlook.MailItem
For Each oAccount In Application.Session.Accounts
If oAccount.DisplayName = "your account name" Then
Set oMail = Application.ActiveExplorer.Selection(1).Reply
oMail.SendUsingAccount = oAccount
oMail.Display
End If
Next
End Sub
Outlook | Windows | Classic Outlook for Windows | For business
9,753 questions
Developer technologies | Visual Basic for Applications
1,509 questions
1 answer
Sort by: Most helpful
-
Robert Sparnaaij [MVP] 1,816 Reputation points MVP Volunteer Moderator
2022-03-02T12:51:58.033+00:00