Search found 36 matches: omailitem

Return to advanced search

Re: MAPI Outlook HTML TEXT

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  ...
by Horizon
Wed Feb 28, 2024 1:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MAPI Outlook HTML TEXT
Replies: 10
Views: 512

Re: MAPI Outlook HTML TEXT

I cannot test it but maybe

oMailItem:to := cRecipient
oMailItem:from := cFrom

you should try
by MarcoBoschi
Wed Feb 28, 2024 1:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MAPI Outlook HTML TEXT
Replies: 10
Views: 512

Re: Error sending email

... 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() ...
by Jimmy
Sat Aug 12, 2023 8:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error sending email
Replies: 18
Views: 772

Re: Error sending email

... 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 ...
by chiaiese
Sat Aug 12, 2023 6:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error sending email
Replies: 18
Views: 772

Re: Automated Outlook e-mail and sending plain text

Dear Rick,

oMailItem:HtmlBody = cHTML

Use "<br>" instead of Chr( 10 )

and remember to use the typical HTML structure:

<html>
<head>
</head>
<body>
Your text goes here
</body>
</html>

You can use tables, colors, etc.
by Antonio Linares
Tue Oct 19, 2021 6:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Automated Outlook e-mail and sending plain text
Replies: 3
Views: 380

Re: Mapi Outlook .. send mail silently

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") ...
by Jack
Fri Dec 20, 2019 9:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mapi Outlook .. send mail silently
Replies: 15
Views: 2516

Re: Microsoft OutLook: como saber si ha sido enviado.

... 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 ...
by hmpaquito
Sat Mar 23, 2019 4:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Microsoft OutLook: como saber si ha sido enviado.
Replies: 3
Views: 736

Microsoft OutLook: como saber si ha sido enviado.

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 ...
by hmpaquito
Wed Mar 20, 2019 1:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Microsoft OutLook: como saber si ha sido enviado.
Replies: 3
Views: 736

Re: Email problem

... ) MsgWait("Ouverture Outlook !!","Info",2) CATCH MsgAlert( "Outlook not installed" ) return .T. END END * * oMailItem := oOutLook:Invoke("CreateItem", 0) oMailitem:to:="test1@skynet.be" oMailitem:CC:="test2t@skynet.be;test3@telenet.be" ...
by Jack
Tue Mar 06, 2018 5:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Email problem
Replies: 2
Views: 811

Re: Please help with OLE test

Enrico,

You can bypass it using oMailItem:To := ...
by Antonio Linares
Mon Dec 15, 2014 10:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Please help with OLE test
Replies: 12
Views: 2255

Re: Por favor ayuda con prueba de OLE

Armando,

Debe tratarse de la versión de Outlook.

Que versión usas ?

Con la versión 2007 falla. Yo no uso Outlook (sólo uso gmail) y tenía una versión antigua (2007) y de ahí debe vernir el error.

Pero usando oMailItem:To problema solucionado :-)

gracias
by Antonio Linares
Sun Dec 14, 2014 5:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Por favor ayuda con prueba de OLE
Replies: 8
Views: 1051

Re: Please help with OLE test

This is a workaround:

oMailItem:To = "alinares@fivetechsoft.com; antonio.fivetech@gmail.com"
by Antonio Linares
Sun Dec 14, 2014 5:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Please help with OLE test
Replies: 12
Views: 2255

Re: Por favor ayuda con prueba de OLE

Aqui tenemos una forma de evitar ese método (que debería funcionar):

oMailItem:To = "alinares@fivetechsoft.com; antonio.fivetech@gmail.com"
by Antonio Linares
Sun Dec 14, 2014 5:58 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Por favor ayuda con prueba de OLE
Replies: 8
Views: 1051

Por favor ayuda con prueba de OLE

... 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 ...
by Antonio Linares
Sun Dec 14, 2014 5:41 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Por favor ayuda con prueba de OLE
Replies: 8
Views: 1051

Please help with OLE test

... 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 ...
by Antonio Linares
Sun Dec 14, 2014 5:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Please help with OLE test
Replies: 12
Views: 2255
Next

Return to advanced search

cron