1. David Peace (Powersoft)
  2. PowerBuilder
  3. Thursday, 9 November 2023 14:52 PM UTC

Hi Guys

I'm hitting a problem converting from 32Bit to 64Bit using MAPI. We are using simpleMAPI

PB2022R2 Build 2819

The folowing line of code has a problem in 64Bit mode. It is marking the message as read! Even though the option is False!

DLmailSession.mailReadMessage(DLmailSession.MessageID[nCount], DLmailMessage, mailEnvelopeOnly!, FALSE)

Any thoughts?

David

 

Accepted Answer
David Peace (Powersoft) Accepted Answer Pending Moderation
  1. Friday, 10 November 2023 14:34 PM UTC
  2. PowerBuilder
  3. # Permalink

I have raised a Bug with Appeon support, so will close this down.

Comment
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Thursday, 9 November 2023 22:27 PM UTC
  2. PowerBuilder
  3. # 1

Hi David,

Try playing around (yes/no values), with these pb.ini settings and see if there's a difference.

[PB]
Extended MAPI=no
UseSimpleMAPI=yes

Comment
  1. David Peace (Powersoft)
  2. Friday, 10 November 2023 08:57 AM UTC
Yes, I forgot to say that we are using simpleMAPI
  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Thursday, 9 November 2023 18:03 PM UTC
  2. PowerBuilder
  3. # 2
Comment
  1. Andreas Mykonios
  2. Friday, 10 November 2023 06:45 AM UTC
Hi Armeen. David is trying to read mail, not to send. So he has to use mapi...

Andreas.
  1. Helpful 2
  1. David Peace (Powersoft)
  2. Friday, 10 November 2023 09:00 AM UTC
Yes, we have used the new SMTPClient in an other app that is sending email. Thanks Armeen, that just works :)



In this case reading an inbox leaves us with MAPI which is why we are upgrading to 64Bit. I'll create a test case today.
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Monday, 13 November 2023 19:32 PM UTC
I see
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 9 November 2023 15:41 PM UTC
  2. PowerBuilder
  3. # 3

Hi David;

  FYI: I just checked the Support Database and we have had no such issue reported.

  If this is a reproducible problem and you can provide detailed information or better yet, a small PB App test case - then please open a Support Ticket for this issue.

Regards ... Chris

Comment
  1. David Peace (Powersoft)
  2. Thursday, 9 November 2023 15:49 PM UTC
It's been one of those days, I'll double check it all tomorrow

Then if still a problem I'll raise a case.

It's going to be a PIA if it's a bug.
  1. Helpful
  1. David Peace (Powersoft)
  2. Friday, 10 November 2023 10:44 AM UTC
Hi Chris

I have created a test case and uploaded that to support: Bug 11152



Hopefully it's an easy one to identify and fix.



Thanks

David
  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.