1. Yuko Tanaka
  2. PowerBuilder
  3. Monday, 27 March 2023 21:39 PM UTC

I found this code somewhere on Appeon website to initiate SMTP from PowerBuilder 2022.

 

SmtpClient lsc_mail
lsc_mail = Create SmtpClient

 

I'm getting an error "Illegal data type SmtpClient"

How do I solve this error?

I found some posting saying that SMTP related PBL needs to be downloaded from Appeon website, but I'm not sure where I can find it. Is this really the issue?

 

Thank you.

Andreas Mykonios Accepted Answer Pending Moderation
  1. Wednesday, 14 June 2023 08:17 AM UTC
  2. PowerBuilder
  3. # 1

Hi.

Can you check if a subject is set in the example application? It may not. If not you can set it like that:

<smtpclient instance obj>.Message.Subject = "Some Info..."

Andreas.

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 27 March 2023 22:07 PM UTC
  2. PowerBuilder
  3. # 2

Hi Yuko;

   The SMTP feature is currently not available. This will be a new feature in new PB 2022 R2 release coming out this summer. What you were looking was probably a "preview" from the Elevate 2022 conference around what's coming in R2.

Regards ... Chris 

Comment
  1. Chris Pollach @Appeon
  2. Tuesday, 11 April 2023 21:26 PM UTC
Welcome
  1. Helpful
  1. Tomasz Bialek
  2. Wednesday, 14 June 2023 07:06 AM UTC
Hallo

I'm checking the operation of smtp client with PB 2022 R2 right now

I'm using the demo app append with the installer.

Unfortunately, the sent e-mail reaches without a message title and without body

("This message does not contain text content") ??

The attachment has been submitted correctly.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 14 June 2023 14:15 PM UTC
Hi Tomasz;

There are issues with the current SMTP feature in the R2 Beta as tracked in various tickets. Currently, ticket #10255 has the most "hot fixes" in various SMTP areas. So you probably will not be too successful in your SMTP testing for the moment. These issues though will be fixed by the time GA is released. Sorry for the testing inconvenience.

Regards .. Chris
  1. Helpful 1
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.