Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending email via outlook just quit working???
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01135847
Message ID:
01135853
Vues:
13
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform