. Server such as Gmail's will let you send freely using any From: address configured in their own settings for sending (see, for instance). If an address is not configured for sending in Gmail, Gmail will change the address in the From: line to the one used with the account you have; the address you used in the From: line in Outlook will be preserved in the 'X-Google-Original-From:' header line.
To do this, you need to select the account in Outlook before sending, using the Account or From button. If you need to frequently send mail from a different account, you can use a macro (below) to set the sending account, then assign the macro to a toolbar or ribbon button. In Microsoft Outlook 2010 or Outlook 2013, if you configure your Outlook profile to connect to multiple Internet email accounts, an email message may be sent.
![]()
The outgoing mail server may let you send the message without problems or alteration, but the recipient's email server can still reject it because the server was not configured to send messages using the address you used in the From: line; you will receive a delivery failure notification email.
By default, Microsoft Outlook always replies to and forwards mail using the account the message arrived on. Most of the time, this is how most of us want Outlook to handle our accounts. But there are times when you might want to send the reply from a different account. If you always want to send all mail out using a specific email account (such as if you are changing addresses and the old address is inbound mail only), you can configure this in Account Settings by putting the sending email address in the Email address field (1), changing the outgoing server name (2) and configuring authentication for the outgoing server in More Settings, Outgoing Server tab (3). (The login username and password on the first page of the dialog is used to download mail.). If you just want to choose a different address every now and again, for example, to forward a joke sent to your work account to friends using your personal account. To do this, you need to select the account in Outlook before sending, using the Account or From button.
If you need to frequently send mail from a different account, you can use a macro (below) to set the sending account, then assign the macro to a toolbar or ribbon button. Macro to Reply, ReplyAll or Forward from a specific account Outlook should always reply and forward from the account that downloaded the message. However, if you want to force replies or forwards from a specific account, you can use this code and create a custom reply button that uses your desired account, so you don't have to remember to change the sending account. Replace theemailaccountname with the account name, as seen in the Account Settings dialog or on the Account selector. Yesterday I let a post indicating the 1st sentence was wrong with Outlook 2016 'By default, Microsoft Outlook always replies to and forwards mail using the account the message arrived on'. The account hosting the calendar and contacts is always used for replies and transfers with Outlook 2016!
It is confirmed: I only uninstalled Office 2016 and installed Office 2013 keeping all the same accounts, and the problem is now solved! Don't use Office 2016, and maybe even think twice before using Office. The first assumption in this text is wrong with Outlook 2016 'By default, Microsoft Outlook always replies to and forwards mail using the account the message arrived on'. Now Outlook 2016 always replies and forward using the mail account that owns the default data file (calendar, contacts), whatever the used email account is used or which default email account is defined. The default email account can be considered for new mails (if the correct settings are done in Outlook 2016), but I can't find no way to force Outlook 2016 to use the account the message arrived on! Somebody has a trick for such reply other than to return back to Office 2013?
I'm finding exactly the same as Phi061 in Outlook 2016. I have an IMAP Fastmail account which is set as my default account and which handles all of my email. I have a (recently migrated) Outlook.com account which I use for calendar and contacts, (and it also has email too, although I don't use this).
New emails are defaulted to be sent from my IMAP Fastmail account, but replies or forwards always come from '[email protected]' unless I change the 'from' address on a individual case-by-case basis. (where xxxxx is a string of 16 'random' characters. This script successfully opens an email thread with a 'Reply All' message and changes the 'From' field to my desired ([email protected]) account address. However, once I send out the reply, the address switches back to my unwanted account address ([email protected]) so that the recipient sees the sender as X instead of Y. It should be noted that if I click on the already selected Y address that visually shows up in the message's 'From' field, then the email sends with the Y address. But the whole point of implementing the script is so that I don't need to click on the field in order to change addresses every time I send an email. Thanks for your help.
It's a Microsoft Exchange account managed by the company I work for. I have three different inboxes all with separate addresses.
But I never need to send/reply/forward mail from any address except my personal which is the default account. Sent folder shows the message being sent from my unwanted X address, and interestingly shows up in both the X mailbox's sent folder and in my personal Y mailbox's sent folder, even though both show the sender as X. Yes, if I type the address it uses the address I've typed.
This is my code: Public Sub NewReply Dim oAccount As Outlook.Account Dim oMail As Outlook.MailItem For Each oAccount In Application.Session.Accounts If oAccount = '[email protected]' Then Set oMail = Application.ActiveExplorer.Selection(1).ReplyAll oMail.SendUsingAccount = oAccount oMail.SentOnBehalfOfName = '[email protected]' oMail.Display End If Next End Sub. Is the account open as a shared mailbox or as a separate email account in your profile? This part looks for an account in the profile: If oAccount = '[email protected]' Then. If you want to change it top Y, try this: If oAccount = '[email protected]' Then Set oMail = Application.ActiveExplorer.Selection(1).ReplyAll oMail.SendUsingAccount = '[email protected]' oMail.Display if it error on the sendusingaccount line, make this change: Dim myAccount As Outlook.Account Set myAccount = '[email protected]' then use oMail.SendUsingAccount = myAccount.
Hi Diane, Thanks for writing this article. I'm quite new to VBA, and I'm trying to figure out why the solution is not working for me. I've copied it directly into a fresh module and only changed only the theemailaccountname to read '[email protected]' - (not this exact email, but an actual account that Outlook is connected to via Exchange). I also changed the macro security settings in Trust Center. Would this code work on Outlook '16 64-bit? If not, do you know what needs to be updated? Thanks again!
I used the following. I'm sure a more generic solution is possible, but we're a small enough office so this will suffice. Private Sub ApplicationItemSend(ByVal Item As Object, Cancel As Boolean) On Error Resume Next If Not Item.SendUsingAccount = '[email protected]' Then prompt$ = 'You sending this from ' & Item.SendUsingAccount & '. Are you sure you want to send it?' If MsgBox(prompt$, vbYesNo + vbQuestion + vbMsgBoxSetForeground, 'Check Sending Account') = vbNo Then Cancel = True End If End If End Sub.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |