Outlook Mail Reply Being Sent from Wrong Account - vba

In my Outlook app, I have
My default mail account
And a shared mailbox account added
I notice that when I reply to an email that's in the shared mail account inbox, it gets sent from my default account (the 'from' address shows the shared account name, but it's in my default account 'sent items' folder).
This happens on 'Old Outlook' on both MacOS and WindowsOS. Is there a way I can have the mail properly send from the shared account?
Thanks,
Bryan

Related

How to Detect Email that Lands in Inbox vs Spam of User with Amazon SES?

I would like to detect emails that arrive in the inbox (vs emails that land in the spam folder) sent using Amazon SES.
I know that I can set up notifications for delivered emails, bounced email, and emails with complaints.
When you get a delivery notification, does it mean that the email landed in the inbox and not in the spam folder, or does it only mean that the email didn't bounce and that the email provider didn't reject the email?
And if it only means that the email didn't bounce, is there a way to know what emails actually land in the inbox vs automatically landing in the spam folder of the user?
There is no way to know this information:
This is not specific to SES, but all email in general.
Each email reading application will handle SPAM in different way.
For example, in GMAIL, items in SPAM folder will not render or download external resources.
You will not be able to detect if a message has never been viewed and in an Inbox -vs- Spam folder.

Outlook 2021, how to write a trigger that change "From" field for speciffic account on every "Create Mail", "Reply", "Forward" event

In Outlook 20xx there is no way to change From field automatically. There are ways to have multiple accounts and use a default one all the time, but not when you reply. This is anti-feature by design and I'm forced to use Outlook with Exchage server using user emails (so every user has his own storage) but sending as office accounts (and when recieving email a copy is forwarded to users which are in office group) [eg. robert#company.com is real account, but when sending/reply/forward it should be sales#company.com]. There are many examples on using macros for all sort of things but not this one.
I need 3 triggers that change From field without clicking some special custom button
when I click New Email
when I click Reply on some selected email
when I click Forward on some selected email
thnx.
added exchange user account, then added exchange office account, set office account as default, options -> mail -> send messages -> always use default account when composing new messages
This was the nearest goal but worked only for new messages, on reply it allways default to user account.
The email profiles are Exchange profiles/accounts and have the required permissions to send on behalf of another person (eg. office#company.com)

What does it mean to "Read mail in all mailboxes"?

I'd like to know what it means when a Microsoft Graph application has the Mail.Read permission that says Read mail in all mailboxes.
Does this mean that such an application can read all mailboxes of every user in the entire company or what all mailboxes are they?
The admins won't grant me this permission as they justifiably think it might be a god-mode. Is it?
First, let's see the description here:
Microsoft Graph lets your app get authorized access to a user's
Outlook mail data in a personal or organization account. With the
appropriate delegated or application mail permissions, your app can
access the mail data of the signed-in user or any user in a tenant.
Let's see the graph api which requiring this api permission:
Get the messages in the signed-in user's mailbox (including the
Deleted Items and Clutter folders).
But if the Mail.Read you mentioned is Application Mail.ReadBasic.All, Mail.Read, Mail.ReadWrite, then
can get messages in another user's mail folder
I'm afraid it is really the god-mode you said. But please note, it doesn't mean , you invite my outlook email address into your company's tenant then you can use this api to read the emails in my outlook email address.
It means that the application has the ability to read email messages in all mailboxes of all users within the organization that has granted the application access to their mailbox. This includes access to the contents of the messages, including subject, body, sender, recipient, and other properties

Logging into and sending email automatically

I have an autoexec macro to send an email if a condition is met.
I would like this email to come from a specific email address no matter who opens the database.
I have the email account and password, but I'm not sure how to (or if it's even possible) to sign into an email account and send the email through VBA.
Solutions I've seen involve using .SendUsingAccount, however, that requires the user to be signed into the email account. Preferably, signing into the account would be done within the VBA so it doesn't matter if a user is logged into the account.
Use CDO and send via SMTP to the server of the mail account:
VBA – CDO Mail

Fetching mails to openerp inbox for every user in openerp7

I know that there is a way to define incoming mail gateway. If we configure it and click on fetch now we will get all mails in the Administrators inbox. Is there a way to configure this for every user and so when every user logs in he/she will get their mails in their openerp inbox itself. Kindly help me to do that with openerp7. Thanks for your time.
You need to create incoming mail servers for every users via Settings->Techincal->Incoming Mail Server providing Username and Password of every users in the Login Information table!