-
Suresh Thoduvail
- PowerBuilder
- Saturday, 22 February 2025 12:26 AM UTC
Hi Experts,
I hope you're all doing fantastic!
I've seen this question come up before, but I haven't found any answers yet, so I'm reaching out with high hopes for some help.
We're using the mailSession
object (Outlook Automation) to send, reply, and import emails from our application built with PowerBuilder 2022 R3 (Build 3356). Everything works like a charm with classic Outlook, but we're hitting a roadblock with Outlook 365 when the mailbox is moved to the cloud ("Try the new Outlook").
Does the mailSession
object support cloud Outlook 365? If so, could you please guide me on how to get our mailing functionality working with Outlook 365? This is becoming a hot topic as more users switch to the "Try the New Outlook" mode.
Error Steps:
- Outlook is not recognized as open, even though it is running in the "Try the new Outlook" mode.
- When prompted to open Outlook and selecting "yes," a second instance of Outlook opens.
- Connecting to the Outlook session using
Outlook.Application
results in error -3.
Our Process:
- When replying, sending, or importing an email, we launch the Outlook window in compose mode and populate it with values like the ID column.
- The email sent to the exchange server is parsed for values and inserted into the database using a .NET application (every 1 minute).
- The email then appears in the Client Server application once it's imported into the database.
Any insights or solutions would be incredibly appreciated!
Thanks a million,
Suresh
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.