I would like to send a mailing to people who attended a conference that I was involved in organizing. It seems I can't get the mail session started.
I have the following code in PowerBuilder.
mailsession lms_1
mailrecipient lmr_1
mailMessage lmmsg
mailFileDescription lmfd
mailReturnCode mRet
lms_1 = CREATE mailsession
mRet = lms_1.mailLogon ()
The return code (mRet) is mailReturnFailure!
When I create the object the sessionid = 0.
The PowerBuilder version I have is 2021.
My OS is Windows 10 64bit. It is up to date and I have Office 365 (Outlook) installed.
The ini file is updated with the addition of "UseSimpleMAPI=yes" to the [PB] section.
Can anyone tell me what I am missing to get the mail working.