1. Simone Olianti
  2. PowerBuilder
  3. Friday, 7 December 2018 08:21 AM UTC

Hi there, i am having problems trying to send an email from Powerbuilder 2017 R3 using default mail client Mozilla Thunderbird on Windows 10.
Thuderbird is the default mail client, but strangely every time i try to send an email the first time the system doesn't recognize it as the default showing a message box. Then i get a logon failure.....
I've tried even to pass uid and password without success.

Also tried to put this line as suggested inside the pb.ini but that doesn't help either:



            // Create a mail session
            mSes = create mailSession
            // Log on to the session
            if vLS_uid<>'' and not isnull(vLS_uid) then
                mRet = mSes.mailLogon(vLS_uid, vLS_pwd, mailNewSession!)    
                IF mRet <> mailReturnSuccess! THEN
                    mRet = mSes.mailLogon(mailNewSession!)
                end if
                mRet = mSes.mailLogon(mailNewSession!)
            end if

any ideas?



Attachments (1)
Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 7 December 2018 14:28 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Simone;

  FWIW: Makes sure that you edit the PB.INI file located in your MS-Windows work area ... for example:

c:\users\YOURNAME\appdata\local\appeon\powerbuilder 17.0

  The PB.ini file in the "C:\Program Files (x86)\Appeon\PowerBuilder 17.0" folder is not used by the IDE at runtime.


Regards ... Chris

There are no comments made yet.
  1. Friday, 7 December 2018 16:05 PM UTC
  2. PowerBuilder
  3. # 1

I wonder if it's not a PB problem but something in the Windows setup.

Take a look at https://www.tenforums.com/browsers-email/116826-problem-thunderbird-mapi.html

There is some chatter in the internet about thunderbird mapi being a bit buggy. Does it work with another mapi email tool?

You could test it with this https://support.microsoft.com/en-gb/help/171096/simple-mapi-console-application

Hope that helps.



  1. Simone Olianti
  2. Monday, 10 December 2018 07:59 AM UTC
thank you, i've checked the hints but everything was in place and unfortunately that didn't help. Anyway i'm sure it's a thunderbird issue since other clients working like a charm
  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.