Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What could be this ?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
What could be this ?
Miscellaneous
Thread ID:
00399662
Message ID:
00399662
Views:
60
Hi all,
I was developing an automation of mail with Outlook 2000, all was at least ok in my PC, but when I try this app in a client gives this error:

Ole idispatch exception code 4096 from microsoft outlook : No se puede enviar este elemento.

The portion of code to send the mail is this :

o=createobject("outlook.application")
oitem=o.createitem(0)
oitem.display
oitem.recipients.add("&xmail")
oitem.subject="Orden de Compra"
oitem.htmlbody=lcbody
oitem.send
oitem=null
o=null

I made the request to microsoft support here, but they have no idea of what I´m talking about.

TIA.
Carlos Etcheverry
Monte Grande
Buenos Aires
Argentina

Es mejor un mal dia de pesca que un buen dia de trabajo!
Next
Reply
Map
View

Click here to load this message in the networking platform