1. Floyd Edwards
  2. PowerBuilder
  3. Thursday, 19 August 2021 15:27 PM UTC

Our operations people did some microsoft updates last wee to the local machines. And of course, they do not know which updates they did (SOP for this group).

When they did these updates, our MailSession functionality stopped working. We woulld get a login failed return message.

 

We tried setting the suimpleMAPPI to yes in the pb.ini file, but that did not work...

Here is the code we have been using for the last several years:

/try to connect
lMailSession = Create MailSession
lMailReturnCode = lMailSession.mailLogon()
//did we connect?
Choose Case lMailReturnCode

// We check for various return values here.

End Choose

 

To be honest, I have no idea why this stopped working.

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 19 August 2021 16:22 PM UTC
  2. PowerBuilder
  3. # 1

Hi Floyd;

  Please check to see if the updates also included ones to MS-Office. In particular to the office client. If they installed an upgrade there installing the 64 bit MS-Office client and your PB Apps are 32bit, then this could be where the Mail Connection is failing. Same for a 64bit PB App trying to use an MS-Office 32 bit client. The MS-Office client must be the same bitness as the PB App in recent MS-Office deployments in order to work.

Regards ... Chris

Comment
  1. Floyd Edwards
  2. Monday, 23 August 2021 14:27 PM UTC
Both PB and Outlook/365 are 64 bit,



The issue I am dealing with is that it worked with several users the day of the update, then the update happened and it does not work. This was setup before I came to work here, so I am not sure what they did to make it work.



I have tried doing several different options with the lMailSession function maillogin like creating a new session, etc. nothing seems to work.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Monday, 23 August 2021 18:43 PM UTC
That should work if they are both 64bit.

On the off chance though ... have you tried a 32bit App?
  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.