0
Votes
Undo
  1. Thierry Garrigues
  2. PowerBuilder
  3. Tuesday, 25 June 2024 07:43 AM UTC

Hi everyboy.

I am looking for a way to open a send email window with an attachment with the new Outlook from a Powerbuilder application.

Apparently this new version is no longer compatible with COM or VSTO or (MAPI ? )

https://learn.microsoft.com/fr-fr/office/dev/add-ins/outlook/outlook-add-ins-overview

I don't see how to use the new Outlook API from PowerBuilder.


Thanks, Thierry

Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 25 June 2024 23:05 PM UTC
  2. PowerBuilder
  3. # 1

I recommend using the new SMTP email client instead: https://docs.appeon.com/pb2022r3/objects_and_controls/SMTPClient_object.html

Comment
  1. Thierry Garrigues
  2. Wednesday, 26 June 2024 15:38 PM UTC
Hi Armeen.

In my case, our customers can choose. Use our integrated email client (which supports POP, IMAP and SMTP) or use another email client like Outlook (with COM interface) or for other email clients (with MAPI interface.)

For various reasons, some of our customers absolutely want to use Outlook and now Outlook New. That's why I'm looking for a way to drive the new Outlook.

For Outlook you just need to send an email with an attachment.

If you have javascript specialists in your development teams, I would appreciate any help..

Thanks
  1. Helpful
  1. David Peace (Powersoft)
  2. Wednesday, 26 June 2024 15:56 PM UTC
Hi Armeen



We have solutions that read the inbox and automaticaly process Inbound emails. Currently we do this through MAPI, so we need to find an alternative solution going forward.



Likewise we have client who insist on the Outbound email being in their send items (they do not want a BCC copy) . We have to use MAPI to send emails to achieve this.



We are looking at Microsoft Graph API for this sort of thing, but it's really a bit of overkill. This chat is very useful to share ideas.
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Wednesday, 26 June 2024 16:00 PM UTC
Outbound email will appear in sent items even if another email program sends out emails without doing BCC. You just need to configure Outlook to use IMAP instead of POP3.
  1. Helpful
There are no comments made yet.
David Peace (Powersoft) Accepted Answer Pending Moderation
  1. Tuesday, 25 June 2024 14:32 PM UTC
  2. PowerBuilder
  3. # 2

Hi

We are still using MAPI to read email message from an inbox. It's my understanding that whatthe Usr uses doe snot really matter, so long as you have Outlook (O365) installed. I could be wrong though.

We too have been looking at Microsoft Graph solutions as a possible way forward. But this deas feel like a sledge hammer to crack a nut.

Comment
  1. David Peace (Powersoft)
  2. Tuesday, 25 June 2024 15:31 PM UTC
That's a real pain. But suppose that the O365 Outlook can be installed eve if the user is using someting else.
  1. Helpful
  1. Miguel Leeuwe
  2. Tuesday, 25 June 2024 19:47 PM UTC
MS is really pushing us. After getting constant messages like "try the new teams", I once installed it and then tried to go back to the "classic" version. Even though you go to the download for the classic version, all you get is the "new" teams. So I'm not too sure about what's going on at Microsoft.
  1. Helpful
  1. David Peace (Powersoft)
  2. Wednesday, 26 June 2024 07:46 AM UTC
Don't start me on Teams!
  1. Helpful 1
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Tuesday, 25 June 2024 09:20 AM UTC
  2. PowerBuilder
  3. # 3

Hi Thierry,

We're in the same boat. For now we have told our customers that we don't support the "new outlook", but maybe some day Microsoft will just force everyone to use it.

For us, that means big trouble, since our applications rely heavily on OLE communication with Outlook.

I guess the only solution would be to use SMTP to send and / or Microsoft Graph solutions.

regards, sorry I cannot help you.

Comment
  1. Thierry Garrigues
  2. Tuesday, 25 June 2024 09:45 AM UTC
Thank you for your comment. We have an SMTP solution but many users prefer to use their Outlook client...
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.