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
Title:
Sending email via outlook just quit working???
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01135847
Message ID:
01135847
Views:
62
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
Next
Reply
Map
View

Click here to load this message in the networking platform