1. Guillermo Tamburo
  2. Elevate Discussion
  3. Wednesday, 4 January 2023 13:04 PM UTC

I want to send an email, it creates the section correctly and then it gives an error in the loggon. Below are the sentences of the program. The email account is configured in Outlook and with this application I send and receive emails perfectly.
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 loggon. A continuación las sentencias del programa. La cuenta de correo esta configurada en el outlook y con dicha aplicación envió y recibo los correos perfectamente.
Si alguien puede guiarme donde puede estar mi problema lo agradecería.

 

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

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

Saludos, Guillermo

gtamburo@delfinoglobal.com

Andreas Mykonios Accepted Answer Pending Moderation
  1. Wednesday, 4 January 2023 13:41 PM UTC
  2. Elevate Discussion
  3. # 1

Hi Guillermo.

Can you inform us what version of Powerbuilder you are using?

Andreas.

Comment
There are no comments made yet.
Guillermo Tamburo Accepted Answer Pending Moderation
  1. Wednesday, 4 January 2023 13:45 PM UTC
  2. Elevate Discussion
  3. # 2

The version of Power Builder 2019 R3  /  La version de Power Builder 2019 R3 

 

Microsoft® Outlook® para Microsoft 365 MSO (versión 2211 compilación 16.0.15831.20098) de 64 bits

 

thanks

Comment
There are no comments made yet.
Andreas Mykonios Accepted Answer Pending Moderation
  1. Wednesday, 4 January 2023 13:59 PM UTC
  2. Elevate Discussion
  3. # 3

Are you aware of the following note in documentation:

64-bit PowerBuilder mail applications can only work with 64-bit Windows MAPI. 32-bit PowerBuilder applications can only work with 32-bit Windows MAPI.

Building a Mail-Enabled Application - - Application Techniques (appeon.com)

Andreas.

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