Problem with OLE and Outlook

Post Reply
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Problem with OLE and Outlook

Post by driessen »

Hello,

On a computer of one of my costumers, something very strange happens.

I try to send an email from my FWH-application through Outlook 2003.

To start my email, I use this code :

Code: Select all

TRY
    oMail  := oOutLook:CreateItem(olMailItem)
    EmSend := .T.
CATCH
    TRY
       oMail  := oOutLook:CreateItem(olMailItem)
       EmSend := .T.
    CATCH
       EmSend := .F.
    END
END
Whatever I try, EmSend is always .F.

What can be the reason for this behaviour ? I have several hundreds of other PC's who don't have this problem.

Thank you very much in advance.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Post Reply