Thanks Naomi! I'm sure this will give me what I need to fix the problem!
>Hi Victor,
>
>See
Re: Automating Outlook when Security Patch installed Thread #
837210 Message #
837319>
>I suspect, that you didn't have a paid copy of this class.
>
>>I inhearted some code that send email via outlook. It's been working fine for months up to a coupla days ago...and now, for some reason - it just quit working.
>>
>>This is what the code looks like:
>>LOCAL loOutlook AS Outlook.Application
>>LOCAL loNameSpace AS Outlook.NameSpace
>>PUBLIC loMailItem AS Outlook.MailItem
>>PUBLIC loSafeItem AS Object
>>
>>#DEFINE olMailItem 0
>>
>>loOutlook = CREATEOBJECT('Outlook.Application')
>>loNameSpace = loOutlook.GetNamespace("MAPI")
>>loNameSpace.Logon
>>loMailItem = loOutlook.CreateItem( olMailItem ) && This creates the MailItem Object
>>loSafeItem = CREATEOBJECT("Redemption.SafeMailItem")
>>
>>
>>
>>....the error I get is "Class definition Redemption.SafeMailItem is not found".....
>>I have no idea what this createobject('redemption.safemailitem') thing in the code means either - does anyone have any suggestions?
>>
>>Thanks!
ICQ 10556 (ya), 254117