Shared archive between Gmail and Outlook - outlook

I need to access a Gmail account from both Gmail and Outlook. This seems to generally work OK despite the differences between labels and folders: messages with multiple labels appear in multiple Outlook folders, etc.
The one place I'm having trouble is with archived mail. Messages archived from Gmail have no label, so are not imap'd to Outlook and are not searchable from Outlook.
Is there any way to make this work, or any reasonable workflow workaround? My goals are:
Old messages remain searchable, but not in my inbox.
Single keystroke or mouse click to move a message into this state.
Searchable from both Gmail's web interface and the Outlook desktop client

I found an answer to most of my question on the Superuser Stackoverflow site: https://superuser.com/a/785136/538789 explains how to do almost everything I wanted and https://superuser.com/a/758329/538789 (another answer to the same question) fills in the remaining bit of how to make GMail's archive be searchable from Outlook.
Short answer, in case those links ever die:
In GMail's IMAP settings: auto-expunge immediate; archive the message.
In Outlook's settings: In File -> Account Settings -> Account Settings -> Email Tab -> Select your account -> Change button -> More Settings -> Advanced Tab: Under Deleted Items enable Mark Items for deletion but do not move them automatically
In Outlook: manually create an "All Mail" folder under [Gmail]

Related

Open Task pane from command in Outlook add-in using Office.js

I am working on an outlook add-in and I need the ability to open a task pane from one of the button commands.
Long story short the command will reach out to an API. The result of the API call will let the client side know if any user interaction is required. If it is I want to present the user with the task pane to fill in any required information.
From what I have found you should be able to call Office.addin.showAsTaskpane().
However this only works if you are using the Shared runtime requirement set which is only supported in Powerpoint, Word, and Excel.
In Outlook you can open a task pane by clicking on the ribbon button or notification item which can be added programmatically, i.e. dynamically. So, you may consider adding a notification item with a link for opening a task pane as a possible workaround. However, it requires a user interaction.
Web add-ins don't provide any way in Outlook to open a task pane programmatically. You can file a new feature request at https://aka.ms/M365dev-suggestions .
This is not supported yet
You can refer from here Duplicate question OR similar
Thanks

How to create Global Address List folder in Outlook programmatically?

I have Outlook plugin (written with Visual C++) which syncs contacts with DAV server (which acts as a replacement to Exchange). Personal contacts are fine but I don't know how to mimic the behavior of Global Address List (GAL).
Ideally, I want to create GAL folder the user will be able to search just like how it happens when Outlook is connected to Exchange. Is it possible at all? Perhaps, it's not possible with Outlook Object Model but still possible with MAPI? Can anybody point me in the right direction on how to start?
I need to support Outlook 2007+ but supporting only the newest versions (for this particular functionality) is an option, too.
Originally, I just synced the entire GAL folder and made it read-only so that Outlook stored the local copy of the entire GAL. This does not work well when the GAL size stretches to thousands of records.
You cannot do that - the address book provider can tell Outlook to only allow searches and never display the actual contents of the container.
You cannot do that with an Outlook folder unless you create your own MAPI store provider: then you can return any data you want depending on what the user is doing.

How can i access my mails from every computer within the domain

we are using Office 365 with Exchange Online and Microsoft Outlook.
Is it possible so everybody with an Exchange account can access his mails in Outlook no matter on the computer(within the domain) he is logging in.
Right now if i log in on another computer there is no email account set up. So i need to add the account everytime im on another computer.
You should look into ZeroConfigExchange, it supports Exchange Online.
Implementing ZCE
Implementing ZCE is easy. It can be added (through a login script) to
the user's registry or as a GPO for all users. Here's how:
In the Windows Registry, navigate to the appropriate subkey for each version of Outlook that is in use:
For Outlook 2016:
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover
As a policy:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Outlook\AutoDiscover
For Outlook 2013:
HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\AutoDiscover
As a policy:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\15.0\Outlook\AutoDiscover
For Outlook 2010
HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\AutoDiscover
As a policy:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0\Outlook\AutoDiscover
For Outlook 2007:
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\AutoDiscover
As a policy:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Outlook\AutoDiscover
Once the key is created, right-click in the right pane and click New, click DWORD Value and type in “ZeroConfigExchange” (without the
quotes) and then press ENTER.
Finally, right-click ZeroConfigExchange, click Modify and then in the Value data box, type 1, and then click OK.

Creating link to Outlook messages

Outlook 2007
While composing a new message in outlook can a link be created to other messages?
Whww I am composing a new mail I would like to create a link to asent item, clicking this link should then open the message.
Can this be done?
Microsoft has a support KB on hyperlinks to access Outlook folders and items:
http://support2.microsoft.com/kb/158135
However, the Outlook: scheme is not registered by default with newer versions of outlook.
http://www.slipstick.com/outlook/using-outlook-links/
I verified that the registry editing technique to associate "outlook:" with opening Outlook items ( http://www.slipstick.com/problems/outlook-missing-outlook-protocol/ ) works for Outlook 2013 on Windows 8.1, so I imagine it would work for earlier versions too.
I needed to do the same thing in Outlook 2013. I was able to do so without any registry editing. (I believe such editing is only necessary if you want the links to work outside of Outlook)
I wanted to create a link to an email that I had stored in the following Outlook folder: My Projects\Set 1\. The subject line of the email was Testing links. Here's the steps to do so:
Right-click on the folder in which the target email is stored -> Choose Properties...
Copy the full Location path (in my case this was \\MyEmail#my.domain\My Projects. (Note that this doesn't include the parent folder itself; Use the description box (or some other convenient location) to paste that path, then append the folder. So in my case the full path looked like \\MyEmail#my.domain\My Projects\Set 1.
Open up the email that you want to paste the link into.
Create a normal hyperlink
In the Address field type Outlook: followed by the path you created in Step 2 above, followed by a backslash and tilde, followed by the subject line of the target email. So for me, that whole address looks like this: Outlook:\\MyEmail#my.domain\My Projects\~Testing links
Done.

Outlook 2007 add-in - What event occurs when an user moves an email from a folder to another one?

I am writing an Outlook 2007 add-in. I would like to know what event occurs when user moves an email from a folder to another one (with drag and drop or with move to folder option). My application represents a spam filter, I have a Spam folder, and I need to know whenever user moves an email form inbox to spam or form spam to inbox (this means for me that the email was wrong classified and I have to retrain it).
Thanks
Install the tool Outlook Spy then try out your experiment and see what events Outlook fires under the hood
how about Folder.BeforeItemMove?
Spambayes is a popular Open Source spam filter, which works exactly the way you describe - have a look at how it does it.

Resources