I cannot test it but maybe oMailItem:to := cRecipient oMailItem:from := cFrom you should try Thank you. But I have tried and get an errormessage. Error description: (DOS Error -2147352570) WINOLE/1008 No exported variable: FROM ...
... and xHarbour 1.1 is working on the same PC with no errors. hm ... interesting I would like to reiterate that the error only arises out in case of oMailItem:display(.f.) .OR. oMailItem:display(.t.) but NOT actually sending the mail, just closing the mail message dialog. Parameter .T. for oMailItem:display() ...
... with FW0709 and xHarbour 1.1 is working on the same PC with no errors. I would like to reiterate that the error only arises out in case of oMailItem:display(.f.) .OR. oMailItem:display(.t.) but NOT actually sending the mail, just closing the mail message dialog. Does anyone know where I ...
Hi , I think i have the solution , if you place the instruction oMailItem:Invoke("Send") , it is in silent mode . Good luk and marry Christmas . Philippe #include "fivewin.ch" function main() local oOutLook,oMailItem oOutLook := TOleAuto():New("Outlook.Application") ...
... y enviar con el metodo :Send() y asi si se puede capturar el resultado del envio. A no me parece lo adecuado porque es mejor hacer un oMailItem:Display() para que muestre un dialog de OutLook con todas sus caracteristicas. Pero si no hay otra solucion seguiremos inanes. Gracias por ...
Hola a las personas de buena voluntad :D ¿ Alguien conoce la forma de saber si un email en OutLook, usando oMailItem:Display( ) ha sido enviado ? Este codigo falla. oMailItem:= oApp:CreateItem(0)oMailItem:Display()IF oMailItem:Sent // here error, because oMailItem ...
... probar este código (sólo si tienes Outlook instalado en tu ordenador) ? local oOutlook := CreateObject( "Outlook.Application" ) local oMailItem := oOutlook:CreateItem( 0 ) oMailItem:Subject = "Test" oMailItem:Recipients:Add( "test@gmail.com" ) // esta fallando aqui ...
... test this code (only if you have Outlook installed on your computer) ? local oOutlook := CreateObject( "Outlook.Application" ) local oMailItem := oOutlook:CreateItem( 0 ) oMailItem:Subject = "Test" oMailItem:Recipients:Add( "test@gmail.com" ) // it is failing here ...