Problem with OLE and Outlook

Problem with OLE and Outlook

Postby driessen » Mon Aug 27, 2007 9:35 am

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  Expand view
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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 50 guests