There is a server with no Outlook client installed and installing it is not an option.
We'd like to access an outlook 365 mailbox with redemption.
I installed the standalone MAPI object(https://www.microsoft.com/en-us/download/details.aspx?id=42040).
Logging in on the mailbox works, using:
"LogonHostedExchangeMailbox(ThisIsTheAddress#client.com,ThisIsTheAddress#client.com,ThisIsThePassWord)"
After this, the 'LoggedOn' variable on the redemption session returns true.
However, when I try to use 'GetDefaultFolder' I get an error (MAPI_E_VERSION)
I can loop over the stores. But again: when I use 'GetDefaultFolder' on a store, I get the error again.
I just need to access the mails in the inbox and replace them to a subfolder.
I even tried making a profile using MFCMapi, but that didn't seem to work or I did something wrong.
Anyone got this to work? Any help is greatly appreciated.
Thanks!
The latest versions of Exchange explicitly refuse a connection from the standalone version of MAPI.
Related
As the title mentions, I've got a question regarding the possibility of implementing the on send event functionality on the outlook PC client.
I current got an add-in running that blocks sending emails on the outlook WEB variant properly and allows sending them when the criteria is met. I've used the examples the microsoft documentation provides to get it to work. This example however doesn't work on the outlook PC (windows) client. Other functionality works just fine on the outlook PC client, it's just the on send not functioning. All I get on the outlook PC client is the error "[add-in name] couldn't complete. Please try sending this message later" upon pressing send.
Been looking at this for the past few days and based on all the microsoft documentation it gives me the impression that it should be possible, but I can't find any examples online or anyone really verifying it either. Which bring us to my question as I mentioned at the start;
Is it possible to make the outlook on send event work on the outlook PC client as well? And if so, does anyone have an example of how to do so?
Thanks in advance!
Yes, the on-send feature for Outlook add-ins is supported in certain versions of Outlook win-32. There is documentation here about which versions are supported and some code examples.
I managed to fix my issue.
So to recap; when running the nodejs server locally, the on send didn't appear to work for the outlook pc client. (It did for outlook web)
What I did was put the code on an external server and ran the nodejs. Then I created an IIS website with https and redirecred it towards the localhost port of the nodejs server.
After doing this and installing the manifest through the URL the issue no longer persisted for the pc client and worked exactly the same as the outlook web variant.
I am new, so I cannot add comments - but keep in mind that if you plan to put your add-in into AppSource - the doc says it will be banned: you are not allowed to use the OnSend event for anything in there.
I hope this helps you avoid some pain if you had those plans!
" Important. Add-ins that use the on-send feature aren't allowed in AppSource. "
( https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/outlook-on-send-addins?tabs=classic )
I have my work email set up on an iPhone using the instructions given to me by my IT department. It works a treat.
I'd really like to be able to use in on my Mac. I have webmail (owa) access but it's a terrible webmail client. I use Airmail as my email client.
I've been reading online and I understand there are different issues with accessing Exchange email from a Mac, but I'm hoping they are surmountable.
The info from my IT people for iOS set up includes
My username
My password
A server - mobile.xxx.xxx.xx
A domain - live.xxxx.xxx.xx
I don't seem to be able to make any combination of these work for mac email setup.
Is there a solution?
Thanks
Try to enter username with the domain:
domain\username
username#domain.fullname.com
If nothing works, maybe you can ask your IT dept for help?
Also, your server administrator should check that EWS protocol is enabled for your mailbox (most MacOS clients works through this protocol)
Does Outlook2010/2013interface with anything other than IMAP or Pop3? If so how? While manual configuration of imap works, the autodiscover wizard is turning up nothing. I have the cname on my 1and1.com pointed to www.mydomain.us. The manual setup for Outlook.com or compatible prompts for a server. Is that supposed to be the same server as specified for the imap?
I am hoping that setup for Outlook clients on pc and laptops is as seamless as it is when the pc/laptop is on a LAN. Can Outlook Anywhere (over https/rpc) be used? If so, how does one obtain the proxy server names and settings?
When it is all setup will the enduser experiance emulate that of Outlook and Exchange 2010 in regards to calender sharing and contacts?
Thankyou for any insight.
I don't know what 1and1.com offers, however you can only use OutlookAnywhere (RPC-over-HTTP) with Exchange 2003-2013.
Outlook 2003-2013 can use IMAP, POP, Exchange MAPI (RPC). With add-ons you may be able to support other protocols, but I've never used any.
For autodiscover to work, you'll usually need Exchange although there are some ways to generate the autodiscover XML without Exchange. Outlook 2010-13 (and I think 2007 too) can try guess the settings for IMAP/POP settings based on your email address, but the server would have to use pretty standard hostnames and ports for it to guess correctly.
IMAP and POP only support email message types and will not sync contacts and calendars between the server and the Outlook client, not natively anyway.
I have Bugzilla 4.0 installed on my Windows machine but I haven't been able to get an email server to work. Does anyone know what the easiest way is to get the email server work?
I found NTsendmail and I have that in my perl/lib directory but I'm not entirely sure how to configure bugzilla to use it.
Is there someway I could use the gmail smtp server?
Cheers,
Steiny
Starting with Bugzilla 4.4, Gmail SMTP is supported natively, but a patch can be applied for Bugzilla 4.2 or previous versions.
https://wiki.mozilla.org/Bugzilla:Windows_Gmail
Personally, I am very happy with hMailServer on Windows. I'm using it on all of our public web servers to send out e-mails from my ASP.NET applications.
Does the system administrator need to install anything extra to get EWS Managed API working for clients on Exchange 2010? At the moment I am getting problems just using AutoDiscover via the managed API so I'm beginning to think the server has been configured incorrectly.
Has any administrator here had any experience with setting up Exchange 2010 to allow access via EWS Managed API?
EWS is enabled by default in Exchange 2010 with no changes needed. It can be affected by common changes made to the system after installation. Installing an SSL certificate with a different name than the server's can cause problems. ie: using mail.company.com instead of exmail01.company.com.
You can use the Exchange Powershell command Set-AutodiscoverVirtualDirectory to change the Internal and External URLs used to connect to EWS/Autodiscovery.
The Test-OutlookWebServices command will run through a series of tests and let you know what failed.
From there, you will be able to see the specific errors in your Autodiscovery configuration. Once they are fixed, you should see the Managed EWS API work correctly.