- 
                            
                                 Simone Olianti Simone Olianti
- PowerBuilder
- 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:
[PB]
UseSimpleMAPI=yes
            // 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
            else
                mRet = mSes.mailLogon(mailNewSession!)
            end if
any ideas?
tia
Find Questions by Tag
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.
