1. Guillermo Tamburo
  2. Elevate Discussion
  3. Thursday, 12 January 2023 03: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)

Responses (1)
  1. Likes
  2. Latest
  3. Oldest
Loading...

Helpful?

If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.