Hi, More and more customers are using GMail instead of outlook so they ask the connection between the application and Gmail. Clicking on an email-adress in our application normaly opens an empty outlook-mail where the to-adress is filled in. Sometimes there's also an attachment added to the mail. I can do the same thing with Gmail by just opening an URL: mail.google.com/.../. But this doesn't work with attachments. So I looked at the API of GMail: Google.Apis.Gmail.v1.dll to see if that was the way to go. Problem is, I can't add the DLL to my assemblies.xml (error The following library could not be loaded). My question is, did anyone succeeded in using GMail API, how can this be done, maybe an example ... In the near future we would like to do the same thing with google sheet etc. Best regards Bart S
For integrating GUI applications you can use jankeirse.github.io/.../
Disclaimers:
- I wrote it, and did so when I wasn't doing much Java.
- It's a bit of a hack, it was written when no other options were available, when the gmail https api wasn't available yet, so it uses imaps for uploading, which has some security implications (basically you need to enable it, less secure apps and have to create an application specific password.) It's a bit of a fuss to get started the first time these days.
- It ought to be ported to the https api, but I can't find the time.
- The part you want to use from abl is gmaildrafter. Just type java -jar gmaildrafter.jar -help in dos for instructions.
Disclaimers notwithstanding we have been using it for almost 5 years now without significant issues for some 5000 users, and I am aware of several other big enterprises that rely on it. Just make sure you understand how it works before using it.
Hi,
Thanks for replying.
I've downloaded the installation, tvhgooglemapisetup-0.8.3.exe, then I saw there was a DLL (tvhgooglemapi.dll). I tried to add that to my assemblies.xml in PDSOE, but failure (could not be loaded).
What am I doing wrong ? ....
The dll is not a .net assembly, it's implementing the windows simplemapi api and translating it to the input parameters for gmaildrafter which it calls by executing it. You can just use os-command to call java -jar gmaidrafter... yourself, no need for the dll .
I _think_ you could also use this: github.com/.../Simple-MAPI.NET for accessing both tvhgooglemapi and outlook or whatever is the default mailclient in windows.
Hello Brian,
I searched for fuslogvw.exe but couldn't find it.
I have am similar problem, with a .net not starting.
-bernhard