Página 1 de 1
error.log
Publicado: Mar Ago 24, 2010 5:28 pm
por Maarten Roos
I like to use mailsend for sending the error.log to me by email. Not quite sure how to do.
I have mailsend (using it for the dos app) and know how it works. But triggering the errorsys to send it?
Maarten Roos
error.log
Publicado: Mié Ago 25, 2010 11:40 am
por ignacio
Maarten,
I suggest you try BLAT. It works ok. I am afraid I can not help you with
'Mailsend', sorry.
Regards,
"Maarten Roos" <m[dot]roos[at]ecem[dot]com> escribió en el mensaje de
noticias:4c73e52a$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> I like to use mailsend for sending the error.log to me by
> email. Not quite sure how to do.
>
> I have mailsend (using it for the dos app) and know how it
> works. But triggering the errorsys to send it?
>
> Maarten Roos
error.log
Publicado: Mié Ago 25, 2010 2:47 pm
por Maarten Roos
ignacio,
it not mailsend or blat what gives me the problem, but when an error occurs I like the error.log be sent to me automatically? And that is where I am stuck... how do I send the error.log by email when the error occurs?
error.log
Publicado: Mié Ago 25, 2010 4:53 pm
por Fabio Gianellini
here attached a little modification to ErrorSys.prg. the last function (InviaMail) send via blat the error.log.
modify this function with your parameter e include this prg in your project (also blat.lib)
ciao
fabio
Attached files ErrorSys.prg (9.4 KB)Â
error.log
Publicado: Mié Ago 25, 2010 6:04 pm
por Maarten Roos
Fabio,
thx. But call me silly The including part? How too? Tried to add the file... did't work?
Maarten
error.log
Publicado: Vie Ago 27, 2010 9:01 am
por Fabio Gianellini
the steps are:
1. include in your porject the errorsys.prg attached (so your project use this instead of the original)
2. modify the inviamail function with your parameter (smtp server, send address, and so on)
3. copy the blat.dll (not blat.lib, sorry for the mistake) in your application directory
nothing else
bye
fabio
error.log
Publicado: Vie Ago 27, 2010 11:09 am
por Maarten Roos
I thought also...
I have cleaned the project and re-compiled everything... now it is working.
Thx.