Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending email via outlook just quit working???
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01135847
Message ID:
01135853
Views:
12
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!
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform