1. Guillermo Tamburo
  2. Elevate Discussion
  3. Thursday, 12 January 2023 15:40 PM UTC

Powerbuilder version : PowerBuilder 2019 R3

Outlook : office 365 

---------------------------

I want to send an email, it creates the section well and then it gives an error on logon. Below are the sentences of the program. The email account is configured in Outlook and works perfectly for sending and receiving.

I share images of the step by step in a document and the powerbuilder function

If someone can guide me where my problem may be, I would appreciate it.

 

Quiero realizar un envió de mail, hace la creación de la sección bien y luego da error en el logon. A continuación las sentencias del programa. La cuenta de correo esta configurada en el outlook y funciona perfectamente para el envió y recepción.

comparto imagenes del paso a paso en un documento y la funcion de powerbuilder.

Si alguien puede guiarme donde puede estar mi problema lo agradecería.

--------- sentences/ sentencias ----------- 

mailSession mSes
mailReturnCode mRet
mailMessage mMsg
mailFileDescription mAttach

// Create a mail session
mSes = CREATE mailSession

// Log on to the session
mRet = mSes.mailLogon(MailNewSessionWithDownLoad!)
IF mRet <> mailReturnSuccess! THEN 
    MessageBox("Mail", 'Logon failed.')
   RETURN
END IF

Attachments (1)
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 12 January 2023 16:44 PM UTC
  2. Elevate Discussion
  3. # 1

Hi Guillermo ;

   Note that MS-365 has both a 32 bit and 64 bit client. Please make sure that your installed 365 client software matches the bitness of your PB App.

Regards ... Chris

Comment
  1. Guillermo Tamburo
  2. Thursday, 12 January 2023 19:32 PM UTC
El office es 64 bit y el powerbuilder 2019 R3 32 bit, tengo alguna solucion desde powerbuilder?
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Friday, 13 January 2023 01:58 AM UTC
You need to migrate your project to 64-bit to interface with other 64-bit programs. Alternatively, you can consider to embed your own email software instead of creating fragile dependency on Outlook. For example, here is email software some PB customers use: https://www.topwizprogramming.com/pbnismtp.html
  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.